August 2018
Beginner
594 pages
22h 33m
English
The granularity of a service refers to the scope of its business functionality, which varies for each service. With microservices, the goal is to have fine-grained services so that each one focuses on a single business capability.
It is important to get the granularity of microservices correct to ensure that the system consists of appropriately sized services. One of the goals of a microservice architecture is to decompose a domain into small, focused, and reusable services. Smaller services carry with them less context, increasing their level of reusability.