Tag Enterprise Architecture

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 Our APIs Became the Architecture

At first, the API was just an interface. A way for one component to call another. Nothing more. Then the system grew. The monolith became multiple services. Teams became independent. Deployments became more frequent. And suddenly almost every important business…

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…