There is multiple option to break up a system into microservices. This excerpt from ‘Developing Microservice APIs with Python’ clarifies one: decomposition by subdomains.
This procedure is known as service decomposition. A popular provider decomposition approach try decomposition by subdomains. Decomposition by subdomains are an approach that pulls determination from the industry of domain-driven build. DDD is actually a procedure for computer software developing that can help us to break all the way down a process into broadly combined hardware with well-encapsulated reasoning and obviously described dependencies among them. Whenever placed on the design of a microservices design, DDD allows us to to provide a definition in the center responsibilities of each and every provider while the limits that define the relations among them. I wish to high light that the style of a microservices structure will not always have to reflect the outcome of our decomposition by subdomains in accordance with DDD. DDD should perform a guiding character from inside the style of the microservices, however it does not have to set the architecture.
The techniques of domain-driven build had been most readily useful defined by Eric Evans in the seminal publication Domain-Driven style
(Addison-Wesley, 2003), normally labeled as “the major blue book.” DDD offers a technique for computer software developing that attempts to reflect as truthfully as is possible the ideas in addition to words that businesses or clients on the applications use to make reference to their processes and flows. (more…)