June 2018
Intermediate to advanced
348 pages
8h 45m
English
Traditional SOA- and REST-based services are mostly coarse-grained services and are written with a mindset in which reduction of network roundtrip is the core concern. To reduce the network roundtrip, developers often created payload formats that were composite (multiple data elements packed together ) in nature. So, an endpoint or a URI was used to handle more than one concern, and violated the principle of Separation Of Concerns. The microservices architecture expects services to perform a single responsibility, and payload formats are tailored for that. In this way, the service becomes granular.