Search⌘ K

Other Challenges

Explore the essential challenges faced in asynchronous microservices, including ensuring guaranteed delivery of messages, designing idempotent services to handle duplicates, managing single recipient processing, maintaining message order, and implementing effective independent testing methods. This lesson helps you understand how to address these challenges to build resilient and reliable asynchronous microservices.

We'll cover the following...

Guaranteed delivery #

In an asynchronous system, the delivery of messages can be guaranteed if the system is appropriately implemented.

The sender has the messaging system confirm that it received the message. Afterwards, the messaging system has the recipient of the message acknowledge the receipt. However, if the recipient never picks up the data and thus prevents delivery, the sender has an acknowledgement, but the message still does not arrive at the recipient.

It is difficult to guarantee delivery when the recipient is anonymous. In this case, it is unclear who is supposed to receive the message and whether there are any recipients at all who should get the message. Therefore, it is also unclear who has to issue receipts.

Idempotency #

...