Get the latest tech news

No such thing as exactly-once delivery


The differences between at-most-once, at-least-once, and exactly-once delivery in messaging systems.

If you have an open transaction with your database and recently verified your TCP connection to your receiver is still good, you've really improved your odds. If one message will cause 10 side effects, be mindful the worker can crash at any point during that process and leave your system in an inconsistent state. The idea is that if the system doesn't hear back from a worker, it will assume it crashed, and so redeliver the message.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of thing

thing

Photo of Delivery

Delivery

Related news:

News photo

Apple Blog iMore Shutting Down: 'One More Thing… Goodbye'

News photo

Yes, you can have exactly-once delivery

News photo

Oracle brews Java 23 for just-in-time delivery