Messaging & Coordination
Queues, pub/sub, gateways and distributed locks.
4 notes · 23 min total
- 1API GatewayWhat an API gateway does, how it differs from a load balancer, and when you need one, the other, or both.4 min
- 2QueuesHow message queues buffer bursts and spread work, plus ordering, retries, dead letter queues, partitions and backpressure.5 min
- 3Distributed LockHow a distributed lock with an expiry (a lease) lets one process at a time own a resource across many servers, and where it goes wrong.5 min
- 4Pub/Sub and Event-Driven ArchitectureHow services react to events through a broker: topics, subscriptions, acks, redelivery, fan-out, dead letter queues and idempotency.9 min