Other microservices
In principle, the whole system of microservices can be built based on the messages sent using the HTTP protocol, with each microservice implemented as an HTTP server or having an HTTP server as the front for the message exchange. Alternatively, any other messaging system can be used for the communication.
In the case of Vert.x, it has its own messaging system-based on the event bus. In the next section, we will demonstrate it and use it as an illustration of how a reactive system may look.
The size of our sample microservices may leave the impression that microservices have to be as fine-grained as object methods. In some cases, it is worth considering whether a particular method needs to be scaled, for example. The truth ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access