-
Book Overview & Buying
-
Table Of Contents
Machine Learning in Microservices
By :
As we explained in Chapter 1, microservices can communicate directly with each other without the need for a centralized manager. As the MSA system becomes more mature, the number of microservices gradually increases, and direct communication between microservices can become a large overhead – especially with calls that need multiple round trips between the API consumer and the API provider.
With the microservices’ autonomy principle, each microservice can use its technology stack and may communicate with a different API contract than the other microservices in the same MSA system. One microservice, for example, may only understand a RESTful API with a JSON data structure, while others may only communicate with Thrift or Avro.
Moreover, the location (IP and listening port) of the active instantiated microservices change dynamically within the MSA system. Therefore, the system will need to have a mechanism to identify the location at which the...
Change the font size
Change margin width
Change background colour