A message broker can separate the sender from the receiver in time and in availability. The chapter compares the different models of the queue, publish–subscribe and the durable log, then the meaning of acknowledgements and the delivery guarantees, ordering, retrying and the handling of faulty messages, and finally the effect of a slow consumer. The webhook is the HTTP-based variant of asynchronous server-to-server notification, so it closes the chapter.
Asynchronous Messaging and Webhooks
A message broker can separate the sender from the receiver in time and in availability. The chapter compares the different models of the queue, publish–subscribe and the durable log, then the meaning of acknowledgements and the delivery guarantees, ordering, retrying and the handling of faulty messages, and finally the effect of a slow consumer. The webhook is the HTTP-based variant of asynchronous server-to-server notification, so it closes the chapter.