Hello, everyone! 👋
In my previous post, I presented an overview of My Broker B3. Today, let's "open the hood" and talk about the foundation that supports this entire ecosystem: the infrastructure.
For a microservices system, manually configuring each database, message broker, and monitoring tool would be a productivity nightmare. That’s why I used Docker Compose to create a local environment that replicates the needs of a highly complex distributed system.
🏗️ Domain Isolation Strategy
A central design decision for this project was data isolation by domain. Instead of a single monolithic database, each microservice has its own instance or logical base:
Relational Persistence (SQL): I use MySQL 8.0 for the Brokerage domains (Identity, Wallet, Order, and Asset) and PostgreSQL 15 for the B3 Core. This ensures domain decoupling—for instance, a failure in the order database won't affect the identity service.
Cache Layer (Redis): I implemented isolated, lightwei
Discussion
Jump in and comment!
Get the ball rolling with your comment!