Tag Eventual Consistency

When One Region Wasn’t Enough

For a long time, one region was enough. The application ran there. The database ran there. The message infrastructure ran there. Backups existed. Monitoring was in place. We had redundancy inside the region. From an infrastructure perspective, the system looked…

When Kafka Became a Second Database

We originally introduced Kafka for a simple reason. We needed asynchronous communication. A service would publish an event. Another service would consume it. The producer didn’t need to wait. The consumer could process the event independently. It looked straightforward. Kafka…

When Every Service Wanted Its Own Database

One of the first principles we adopted after decomposing the system was simple: Every service should own its own data. It sounded right. The architecture became cleaner. Teams could deploy independently. Services no longer needed direct access to another service’s…

When One Transaction Became Five Services

The transaction used to be simple. At least, it looked simple from the application’s perspective. A customer placed an order. The system processed the payment. The order was created. Inventory was reserved. The ledger was updated. The customer received a…

When Events Became the Backbone of the System

The system was becoming increasingly difficult to change. Every time we added a new capability, another service needed to know about it. A payment completed. The ledger needed to update. Notifications needed to be sent. Fraud analytics needed the transaction.…