Comment by toast0

Comment by toast0 6 hours ago

2 replies

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 6 hours ago

You keep sending it until you get an acknowledgement back. As the article points out, this does assume nobody cut the wire.

  • deathanatos 5 hours ago

      SEND -->
      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.")