Microservices in Practice
This chapter is dedicated to the practical implementation of each microservice that exists after the design of the general application architecture and after that all interfaces of all Microservices have been defined. The interaction between, and orchestration of, microservices will be detailed in the remaining chapters of this book.
All concepts will be illustrated with the example of a worker microservice taken from the book’s case study application that we introduced in the Car-sharing example subsection of Chapter 2, Demystifying Microservices Applications.
After a short description of the example worker microservice specifications, we will describe how to design microservices’ input and output communication subsystems, and how to organize the microservice request-serving logic.
Finally, we will discuss the details of how to implement a microservice with the Onion Architecture project templates introduced in the A solution...