Sample Application DDD, Reactive Microservices, CQRS Event Sourcing Powered by DERMAYON LIBRARY
Sample Application DDD Reactive Microservices with CQRS & Event Sourcing with DERMAYON LIBRARY.
Microservices - also known as the microservice architecture - is an architectural style that structures an application as a collection of services that are
The microservice architecture enables the rapid, frequent and reliable delivery of large, complex applications. It also enables an organization to evolve its technology stack. reference
The API Gateway encapsulates the internal system architecture and provides an API that is tailored to each client. It might have other responsibilities such as authentication, monitoring, load balancing, caching,
CQRS stands for Command Query Responsibility Segregation. It's a pattern that I first heard described by Greg Young. At its heart is the notion that you can use a different model to update information than the model you use to read information. For some situations, this separation can be valuable, but beware that for most systems CQRS adds risky complexity.
Benefits when to use CQRS Event Sourcing
imagine if the system is too complex and more than 1K user hit in server, how many related tables? and how long does it take to get data? with cqrs & event sourcing we can implement materialized views, or in other words denormalized tables into one data or flat
The Reactive Manifesto outlines qualities of Reactive Systems based on four principles: Responsive, Resilient, Elastic and Message Driven.
Clone the repository
Run and Build the app
cd Pos
docker-compose up
wait for completed
List Url:Port the app
docker container ls
For sample we can navigate to PRODUCT SERVICES ::localhost:32771/swagger
Navigate to postgateway for sample ::localhost:32768/[SERVICES]/[Action]
Sample Running in Gateway http://localhost:[PosGatewayPort]/api-product/productCategory/7a3fff4b-54ca-4c21-bf04-c11aea9b7673
Keep Updates, I'will update for new best practices of technology & software design, architectural