From the course: Microservices Foundations

Unlock the full course today

Join today to access over 23,500 courses taught by industry experts.

Asynchronous communications

Asynchronous communications

- One of the best strategies for dealing with reducing latency on a microservices based system is to not rely on a purely synchronous communication model. Leveraging event-driven asynchronous communications is a fantastic way to improve system health as well as support long-term objectives of moving large amounts of data over long distances in a fairly timely fashion. Asynchronous communications, however, are not easy. You need to put significant work into ensuring that your communications reach their destination and are processed in accordance with predetermined tolerances. Learning how to appropriately handle and respond to air conditions is critical to keeping the system running. Most often when you hear mentions of asynchronous communications in a microservices architecture, people are specifically referring to event-driven microservices as a way to support eventual consistency of the data. In this model, the services put a message into an asynchronous message broker or a…

Contents