Message Queue
Everything on SkillVeris tagged Message Queue — collected across the glossary, study notes, blog, and cheat sheets.
10 resources across 1 library
Interview Questions(10)
What is a Message Queue?
A message queue is a middleware component that lets a producer publish messages which sit durably in a buffer until a consumer pulls and processes them, decoup…
How Would You Design a Notification System?
A notification system is designed as an event-driven pipeline where upstream services publish notification events to a queue, a set of channel-specific workers…
How to Design a Distributed Message Queue
A distributed message queue is designed as partitioned, append-only logs replicated across brokers, where producers write to a partition by key, consumers in a…
How Would You Design a Large-Scale Email Delivery Service?
A large-scale email service accepts send requests via an API, queues them for asynchronous delivery, routes through multiple outbound relays with reputation ma…
How Do You Design for Read-Heavy vs Write-Heavy Systems?
Read-heavy systems are optimized by aggressively caching and replicating data close to readers so most requests never touch the primary store, while write-heav…
What is Backpressure in Distributed Systems?
Backpressure is a flow-control mechanism where a slower downstream consumer signals an upstream producer to slow down or pause sending data, preventing the con…
What is a Dead Letter Queue?
A dead letter queue (DLQ) is a separate holding queue where messages are routed after they repeatedly fail to be processed successfully, so a poison message ca…
What is the Outbox Pattern?
The outbox pattern solves the dual-write problem by writing both a business state change and the event describing it into the same local database transaction,…
Exactly-Once vs At-Least-Once Delivery: What Is the Difference?
At-least-once delivery guarantees a message is delivered one or more times (never lost, but possibly duplicated), while exactly-once delivery guarantees a mess…
What Are Message Ordering Guarantees?
Message ordering guarantees define whether and how consumers are assured to see messages in the same sequence producers sent them, ranging from no ordering at…