Microservice Compositor (Erl, Naserpour)
How can a microservice encapsulate composition logic while still retaining a fine-grained functional scope?
A microservice compositor comprised of one or more fine-grained microservices is utilized to carry out the composition logic. Composition-related tasks are delegated to the compositor microservices, each of which can also have its own dedicated database and scale independently.
The microservice compositor composes Microservices A, B and C to complete a business task. In this scenario, the service compositor resides in its own container.
This pattern can be applied by custom-designing the compositor microservices, as explained in the complete pattern description.