Architecture

Microservices Architecture From A to Z

This article aims to discuss the microservices architecture from its definition to a concrete example. Plan: What is a microservices architecture? Advantages and disadvantages ...

What are microservices?

Microservices - also known as the microservice architecture - is an architectural style that structures an application as a collection of services that are: Independently deploy ...

Pattern: Command Query Responsibility Segregation (CQRS)

Context You have applied the Microservices architecture pattern and the Database per service pattern. As a result, it is no longer straightforward to implement queries that join d ...

Pattern: Saga

Context You have applied the Database per Service pattern. Each service has its own database. Some business transactions, however, span multiple service so you need a mechanism to ...

Pattern: Microservice Architecture

Context You are developing a business-critical enterprise application. You need to deliver changes rapidly, frequently and reliably - as measured by the DORA metrics - in order fo ...

Pattern: Event sourcing

Context A service command typically needs to create/update/delete aggregates in the database and send messages/events to a message broker. For example, a service that participates ...

Pattern: Database per service

Context Let’s imagine you are developing an online store application using the Microservice architecture pattern. Most services need to persist data in some kind of database ...

Pattern: Monolithic Architecture

Context You are developing a business-critical enterprise application. You need to deliver changes rapidly, frequently and reliably - as measured by the DORA metrics - in order fo ...