Variations
We'll look at a few quick variations of what we've learned in this chapter now.
We'll cover the following
Frontend integration #
Frontend integration (chapter 3) can be a good addition to synchronous communication.
Asynchronous communication #
Asynchronous communication (see chapter 6) is another alternative.
Synchronous and asynchronous communication are possibilities for microservices to communicate with each other on the logic level.
One of these options should be enough to build a microservices system.
Combination #
Of course, a combination of synchronous and asynchronous is also possible.
The asynchronous communication with Atom and the synchronous communication with REST use the same infrastructure so that these two communication mechanisms can be used together very easily.
Future chapters #
The following chapters show concrete implementations for synchronous communication.
The examples all use REST for communication. Today REST is the preferred architecture for synchronous communication.
In principle, other approaches such as SOAP or Thrift are also conceivable.
Get hands-on with 1400+ tech skills courses.