Balaji Srinivasan

The model isn't the problem- Weak Distributed System Foundations

2 minutes (459 words)

We’ve all seen it. The demo runs perfectly. The AI agent answers instantly, retrieves relevant docs, and executes actions like magic. Everyone claps.

Then it hits production. And the magic leaks out through the cracks.

This isn’t an “AI problem.” It’s the same distributed systems problem we’ve been fighting for decades — only now the failure modes are harder to spot because the system is draped in AI hype.


🔗The AI Era’s Architectural Blind Spot

Most AI products today are built like this:

  1. Prompt → Model → Output → Side Effect
  2. Wrap with some glue code and a UI
  3. Ship

That’s fine — until you add:

Now you’ve got a multi-node, multi-hop distributed system. The rules change — or rather, they don’t change, but they suddenly matter.


🔗Why the Cracks Show Faster in AI Systems

Distributed systems always have cracks. AI makes them wider because:

When you ignore the plumbing, the first real user spike or partial outage is enough to turn your “production AI” into a distributed hallucination generator.


🔗Where This Series Fits In

Over the next few posts, I’m going to break down the patterns and practices that make AI systems predictable under load and recoverable under failure.

Not theory. Not “you should implement Raft.” Real, implementable patterns that work in:

We’ll get into how to make the plumbing as intelligent as the model — so you don’t just ship AI, you keep it alive.


🔗One Small Fix That Pays Off Immediately

If you’ve got an AI feature that takes any action — send an email, create a Jira ticket, kick off a deployment — give it an idempotency key.

It’s not glamorous. But the first time your workflow retries and doesn’t double-charge a customer or flood a channel, you’ll be glad you did.

In the AI era, it’s not enough for the model to be smart. The system around it has to be smarter about failures.


🔗More in this Series

Tags: #engineering #distributed-systems #ai #agentic #system-design #architecture