9 Comments
User's avatar
Lucas Faria's avatar

thanks for another great article!

> SQS provides retries and dead-letter queues, and Kafka adds replay capabilities

what's the difference between dead-letter queues and replay capabilities? Don't they serve the same end (replaying events that fail)?

Expand full comment
Jeff Sutherland's avatar

Not quite. A DLQ is used when a message can't be processed, like it's malformed or contains data the consumer doesn't understand. A replay is when a message fails because the system fails, and the message can be retried when the system is back in normal operation.

Expand full comment
Esteban Sanchez's avatar

Great!

Expand full comment
Cuong NP's avatar

Such a great post! Thank you for sharing!

To handle increased write and read operations, we might explore implementing a primary-replica architecture for performance enhancement.

Expand full comment
Prateek Jalgaonkar's avatar

I am new to system design, but surely will save this post and lesson to learn DS and System Design through patterns

Expand full comment
DevLogsByOlujare🎭's avatar

Amazing article. Thanks for sharing

Expand full comment
Sandeep's avatar

Great article!

The links point to localhost instead of the hellointerview website.

Expand full comment
Hello Interview's avatar

Omg gross, fixing!

Or "works on my machine!"

Expand full comment