E-commerce Backend
A microservices-based e-commerce backend developed as an R&D project. Built with Go, Kubernetes, and RabbitMQ, using the Saga pattern for data consistency and exploring data-management challenges in distributed systems.
About the Project
An R&D project exploring a microservices-based e-commerce backend. It focuses on data consistency, communication between services, and scalability in distributed systems.
Architectural Approach
Saga Pattern
The Saga pattern coordinates distributed transactions. Steps such as order creation, payment, and inventory updates are coordinated through choreographed events. A failed step triggers compensating transactions.
CQRS
Reads and writes use separate models. The write side uses event sourcing, while materialized views optimize the read side.
Infrastructure
- RabbitMQ — Asynchronous communication between services.
- Kubernetes — Orchestration and automatic scaling.
- Docker — Containerization and consistent development environments.