Advanced System Design Fundamentals
0% completed
Delivery Semantics and the Exactly-Once Myth
When a service crashes while it handles a message, a message system can promise one of three things about that message:
- It can promise never to repeat the message, at the cost of sometimes losing it. This is at-most-once.
- It can promise never to lose the message, at the cost of sometimes repeating it. This is at-least-once.
- It can promise to neither lose nor repeat the message. This is exactly-once.
Kafka offers a setting named exactly-once, and many engineers assume it covers their whole system. It does not
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%