Following the topic of splitting your Rails application using microservices, we decided to make a review for the most popular microservices categories. That is how we found the list of 6 microservice patterns for better development.
What all microservices have in common? Eric Evans, the father of Domain Driven Design, defines them as the following: “[services] that can consume and produce messages.”
So, for each service pattern, we can talk about the types of messages that are produced or consumed. These messages can be subdivided into two categories: events, and commands. With that in mind, we can divide all microservices into 6 patterns. Here they are
6 microservice patterns for better development
- Model Services
- Denormalizer Services
- Gateway Services
- Ingestor Services
- Adapter Services
- API Services
You can read about all them in details and how these categories were defined in the original article by Patrick Lee Scott.