Microservices Killed My Startup (And How I'd Do It Differently)
Adil Sher
Author
Three years ago, I watched a team of five engineers spend eight months building a Kubernetes cluster, service mesh, and distributed tracing infrastructure. We had maybe 50,000 users. We were solving problems we didn't have yet. The irony hit me six months later when we ran out of funding and pivoted. All that beautiful orchestration? Completely wasted.
I think about this whenever someone sends me another "how to split your monolith" article. The original advice was sound, there is a time to move to microservices. But I've learned the hard way that knowing when matters far more than knowing how. Reading through the distributed systems fundamentals again, I found myself nodding at the CAP theorem discussion, but also remembering: a team that can't ship a feature in a week has bigger problems than architectural elegance.
The Theory Everyone Gets Right, The Timing Everyone Gets Wrong
The article nails the core challenges. CAP theorem? Yes, partition tolerance is mandatory in any distributed system. Consistency vs. availability trade-offs? Every payment system I've worked on has had to make this call. I remember a late-night debugging session where we realized our "eventual consistency" approach meant customers could see duplicate transactions for three minutes. That was the day I stopped thinking of CAP as an abstract concept and started seeing it as a business decision.
Service discovery and load balancing are real problems too. When I was running a monolith on a single server, I never thought about which instance was alive. Move to microservices, and suddenly this becomes critical infrastructure. I've used Consul, Kubernetes service discovery, and plain-old Nginx. Each has trade-offs that matter when things break at 2 AM.
But here's what the article touches on but doesn't emphasize enough: you don't need any of this yet. Most teams don't. I know six-person teams running $5M ARR on modular monoliths. I also know twelve-person teams with microservices complexity that slows them down. The difference isn't brilliance, it's that the first group asked "do we need this?" before building it.
Where I'd Push Back
The distributed tracing section made me laugh out loud. Yes, Jaeger and Zipkin are powerful tools. But you know what's more powerful when you're small? Not having ten services to trace through in the first place. We added correlation IDs to our API gateway years ago, smart move. But the moment we started running fifteen microservices, we realized debugging became exponentially harder. The article mentions this in passing, but it deserves a bigger warning: distributed tracing is mandatory overhead that you should avoid as long as possible.
The Saga pattern explanation is solid, though I'd add this: implementing Sagas correctly is hard. I've seen teams add async message queues, compensation logic, and timeout handlers only to discover they'd introduced new failure modes. For a small system with straightforward workflows, a monolith with ACID transactions is significantly safer and faster to build.
What I'd Actually Do Differently
If I were starting over, here's my approach: Start with a modular monolith. Use clear interfaces between business domains. Keep your database unified, but structure your code so extracting a service later isn't painful.
# Example: Modular monolith structure
# Not microservices yet, but ready to become them
class PaymentService:
def __init__(self, db):
self.db = db
def process_payment(self, order_id, amount):
# Single transaction, single service
with self.db.transaction():
order = self.db.get_order(order_id)
self.db.deduct_balance(order.user_id, amount)
self.db.create_payment_record(order_id, amount)
return {"status": "success"}
# When you scale, extract PaymentService to its own process.
# The interface stays the same, just now it's HTTP instead of in-memory.
Extract to microservices when you have measurable pain: team bottlenecks, genuine scaling requirements, or separate deployment needs. Not before. Not because it's elegant.
The Human Element Matters Most
The article's conclusion gets it right: observability beats architectural purity. I've seen pristine microservices deployments fail catastrophically because nobody understood what was happening when. I've seen messy monoliths stay rock-solid because one person understood every inch of it.
As you grow, build observability first. Distributed tracing, structured logging, and clear metrics aren't optional extras, they're foundations.
What I Want to Know
Where are you in this journey? Are you maintaining a system that's outgrown its architecture, or are you tempted to over-engineer one that hasn't? I'd genuinely like to hear about decisions you'd make differently. Leave a comment.
Source: This post was inspired by "Building Distributed Systems: From Monolith to Microservices" by Dev.to. Read the original article