Advantages & Variations

In this lesson, we'll discuss advantages and variations to the approaches we've already discussed in this chapter.

We'll cover the following

Advantages #

Decoupling via events was presented in the lesson on Events. Such an architecture achieves a high degree of decoupling.

Especially for distributed systems, asynchronous communication has a number of decisive advantages:

  • When a communication partner fails, the message is sent later when the communication partner is available again. In this manner, asynchronous communication offers resilience, that is, protection against the failure of parts of the system.

  • The processing and delivery of a message can nearly always be guaranteed. The messages are stored for a long time. Processing is assured, for example, by the recipients acknowledging the message.

In this manner, asynchronous communication solves challenges caused by distributed systems.

Get hands-on with 1200+ tech skills courses.