Data Consistency in Microservices — Saga Pattern
One-liner: In microservices, you can't use a single database transaction across services — the Saga pattern breaks it into a sequence of local transac…
Latest Architecture news from Tech News
One-liner: In microservices, you can't use a single database transaction across services — the Saga pattern breaks it into a sequence of local transac…
Designing AI Systems That Outlive Today's Models If there's one lesson this series has taught me, it's this: Don't build your application around a mod…
"A HashMap is not valuable because it is fast. It is valuable because it makes the right things fast." In the previous articles, we built our understa…
A fire in a fulfillment center on the far side of the world. It didn't make headlines. But for a cross-border e-commerce operation, it was a quiet cat…
The following guide is provided as a public service. If your goal is to maximize chaos, ensure total loss of accountability, and achieve legendary sta…
When your payment gateway fires the same "paid" webhook three times, your logistics API calls back with "shipped" before payment is confirmed, and the…
A decision tree for grown engineers Every engineering team eventually faces the same dramatic sentence. We should just rewrite this. It is usually sai…
If you've ever started a microservices project by splitting a monolith into dozens of tiny services, you've probably experienced this: "We have micros…
Stop Using Round-Robin: High-Throughput Java Virtual Thread Routing with P2C Virtual threads allow Java microservices to comfortably run 50,000 concur…
The AI Harness is becoming the real engineering layer. Everyone is talking about AI Agents. I think we're missing the more important piece. The AI Har…
Disclosure: This post includes affiliate links; I may receive compensation if you purchase products or services from the different links provided in t…
Where Interviews Are Actually Won Ask interviewers where candidates separate, and almost none will say "the initial design." Prep materials have conve…
Most architecture decision records fail for the opposite reason people think. The issue usually isn't that teams forget to write them. It's that the o…
On 2026-07-09 I shipped trelix v2.7.0. The architecture felt done — seven retrieval legs, a knowledge graph, an agentic loop. Then I opened the GitHub…
Imagine you're building a SaaS platform. Nothing fancy. Just a notification bell in the top-right corner. When someone receives a new message, complet…
When I started building backend systems, I thought becoming a better developer meant learning more technologies. A new framework. A new database. A ne…
One of the biggest myths in software engineering is that growth inevitably makes software slower. We almost expect it. More users mean more database q…
We've all been there: you add Redis, and your latency drops. But have you planned for the Thundering Herd? The Problem A Thundering Herd occurs when a…
Every application eventually reaches the point where it needs notifications. At first, it feels simple. A user signs up? Send an email. Someone likes …
In this final article, we're going to explore Production practices 22. Events Are Delivered, Not Guaranteed A common misconception in event-driven arc…
You've got three agents running at the same time. One pulls customer data. Another generates a response. The third decides whether to escalate. Then a…
8 min read · telecom provisioning platform, 30M+ subscribers Most companies avoid migrating their monolith for one reason: they imagine it as a single…
Abstract Distributed financial systems frequently treat reversal as a secondary state attached to an otherwise completed transaction. A payment succee…
9 min read · warehouse execution system, global retail & manufacturing A few years ago I worked on a warehouse execution system (WES) — the softwa…
So I tried to build an experiment service (here's every wrong turn first) Say you run a website and have a hunch a new signup page converts better tha…
Millions of people open Netflix at the same time—during weekends, evenings, or when a new season drops. Despite this massive traffic, users usually ex…
After going through entities, invariants, state machines, aggregates, bounded contexts, and full systems like Ride Sharing, BookMyShow, and Amazon Car…
This is the final consolidation of everything in Domain Modeling. If you understand this structure deeply, you don’t need to memorize LLD patterns any…
One thing beginner LLD tutorials rarely show is this: real systems never stay in their “initial design”. They evolve constantly: new features get adde…
Up to now, domain modeling may feel like the answer to everything: entities aggregates invariants bounded contexts state machines But strong engineers…