-
Book Overview & Buying
-
Table Of Contents
Software Architecture with C++ - Second Edition
By :
In this chapter, we examined how microservices communicate. We began with an introduction to ISC and then covered different interaction styles, with a focus on client–server interactions. Then, we explored low-overhead messaging systems (MQTT and ZeroMQ) and brokered messaging systems (Apache Kafka and RabbitMQ). After that, we saw different ways to use web services: web API payload formats (XML-based and JSON-based), web API design approaches (REST and GraphQL), and tools to debug and describe these services (OpenAPI and AsyncAPI). Finally, we discussed both HTTP-based and non-HTTP RPCs: Apache Thrift, gRPC, and RabbitMQ.
Microservices are especially popular in combination with containers, which are the subject of the next chapter.