Pattern scalability

The asynchronous messaging design pattern enables scalability across all axes of the scalability cube. Scalability can happen with more instances, more powerful machines for running processes, scaling the distribution of data, and there are still many other ways. However, the asynchronous messaging design pattern has something that no other microservice communication pattern possesses—the ability to perform a lazy process.

A lazy process in microservices can be created whenever we use the asynchronous communication model between microservices. Because of the working character of a lazy process, the number of instances of a lazy microservice typically uses fewer instances than sequential working microservices.

Let's better ...

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.