4 ms·
I don't see how you can guarantee at least one delivery, but maybe I've seen too many things disappear off busses, never to be seen again.
by toast0 2y ago
I don't see how you can guarantee at least one delivery, but maybe I've seen too many things disappear off busses, never to be seen again.
- Filligree 2y agoYou keep sending it until you get an acknowledgement back. As the article points out, this does assume nobody cut the wire.
- deathanatos 2y agoSEND --> SEND --> <-- ACK <-- ACK (this node was *suuuper* slow due to page thrashing.) Don't try to "fix" it, either; there's no way to do that. You make the job idempotent, in some manner: make it such that receiving the message and processing it twice is safe. (This is what TFA eventually capitulates to, but tries to call it "exactly once delivery", even in cases where deliver is occurring more than once. I don't think this view is pedagogically useful, which is partly why we say "exactly once delivery is impossible.")