Pages

  • AWS
  • Asynchronism
  • Awk
  • B Trees
  • Bash
  • Bloom Filter
  • CAP Theorem
  • CUDA
  • Cache
  • Cassandra
  • Clean Code
  • Clojure
  • Common Stocks Uncommon Profits
  • Conda
  • Containers vs VMs
  • Cpp
  • Data Warehouses
  • Database
  • Database Replication
  • Designing Data Intensive Applications
  • Distributed Systems
  • Docker
  • Dropbox
  • Dynamic Programming
  • Eat That Frog
  • Elasticsearch
  • GTD Framework
  • Golang
  • Googling
  • HTTP
  • Heap
  • Hello Web Design
  • Hot Key Issue
  • Java
  • JavaScript
  • Joel Greenblatt Notes
  • Kafka
  • Kahn s Algorithm
  • Kubernetes
  • LSM Tree
  • Laravel
  • Load Balancer
  • Long Polling
  • Message Queues
  • Networking
  • NoSQL
  • Node js
  • One Up Wallstreet
  • Perl
  • PostgreSQL
  • REST
  • Rate Limiting
  • Regex
  • SQL
  • Sed
  • Svelte
  • SvelteKit
  • System Design Primer
  • Tailwind
  • The Little Book That Beats The Market
  • Transfer Protocols
  • TypeScript
  • Vue
  • Web Assembly
  • Web Crawler
  • Web Dev
  • Web Protocols
  • Web Sockets
  • Website Caching
  • You Can Be A Stock Market Genius
  • elisp

Asynchronism

Distributed Systems

Message Queues

  • If an operation is slow synchronously, you can use a message queue to send requests to a consumer

Consumer

  • A server that listens for messages then performs tasks

Disadvantages

Queuing incurs additional delays, which might not be worth it if the operation can be performed quickly in serial

Table of Contents