When talking about microservice-based architecture, scalability is always presented as one of its main advantages. The ability to scale up the system by creating multiple instances of a given application is very important. When doing this, different instances of an application are placed in a competing consumer relationship, where only one of the instances is expected to handle a given message. For point-to-point communication, it is not a problem, but in a publish-subscribe model, where the message is consumed by all the receivers, it may be a challenge.
Scaling and grouping
Get Mastering Spring Cloud 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.