June 2025
Intermediate to advanced
837 pages
24h 50m
English
The first microservice of the application we’ll implement works asynchronously, that is, relatively strongly decoupled. The user service isn’t an ideal example here because communication via a message queue such as RabbitMQ also entails a potential time delay due to the strong decoupling. However, this example nicely illustrates the bidirectional and thus equal communication between the services as well as the resulting problems.
The direct question-answer pattern we implement in this example is rather unusual for an asynchronous service, and a common web protocol such as HTTP would work just as well, if not better, for the implementation. Message queues are typically used in places where the request ...
Read now
Unlock full access