Lurker News

Comments (491) 209 threads

Show all comments

Showing thread 38 of 209

jhallenworld#
Two phase commit, for example to guarantee once and only once message delivery in MQTT. I like how far you can get with such a simple protocol:

    A to B: send message (repeat  until ack)
    B to A: ack (resend if a repeat of message is received)
    A to B: commit message (repeat until commit ack)
    B to A: commit ack (resend if a repeat is received, but commit only once)