Microservice communication

The RecommendationService microservice is a completely new microservice with communication features we already know and others that are equally new. This microservice will consist of an API with HTTP endpoints and a message reader that is going to read messages sent from NewsOrchestrator, which is the microservice responsible for the orchestration of data.

The messages sent are asynchronous and carried through a dispatcher. In this way, the microservice that sends messages does not get blocked threads waiting for a response.

A system of messaging and non-blocking communication is the heart of the asynchronous messaging design pattern. Basically, this pattern has a focus on the communication layer.

Due to the asynchronous ...

Get Microservice Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.