You will regret complexity when on-call
Why developer experience should shape architecture, from local development and observability to code reviews and the gap between architects and developers.
Lately, I’ve been involved in several projects where the architecture was designed with scalability and performance in mind. However, one crucial aspect was completely overlooked: developer experience.
How easy is it to work with the code? Can developers even run the system locally? I’ve been on projects where running microservices locally wasn’t even possible, forcing developers to rely entirely on cloud environments for testing.
In another project, business logic was spread across multiple microservices. Without proper logging, debugging a user flow meant manually tracing calls from service to service until you could finally pinpoint the root cause. This wasn’t just time-consuming; it was frustrating and inefficient.
The real problem isn’t always the architecture
The issue isn’t necessarily the architecture itself. Microservices, event-driven systems and distributed architectures all have their place. The real problem is often the lack of supporting tools and best practices that make development smooth:
- Logging and observability: can we easily trace requests across services?
- Integration tests: do we catch breaking changes before they hit production?
- Local development: can developers spin up the system (or parts of it) easily?
Critical trade-offs: is complexity always bad?
It’s easy to blame complexity for poor developer experience, but sometimes complexity is necessary.
Isn’t complexity inevitable in large-scale systems?
Yes, complexity makes development harder, but often the complexity is driven by real business needs. A simple monolith might not cut it if a company requires a highly available, globally distributed system. Prioritizing developer experience over scalability can be a short-term fix with long-term consequences.
Many teams adopt complex architectures without first assessing whether they truly need them. Every added layer of abstraction should be justified by a clear operational benefit.
You can’t run it locally, but do you need to?
I’ve worked on projects where developers couldn’t run the full system locally, making debugging frustrating. But is local development always the right goal? Modern cloud-native architectures are often too big to run locally.
So instead of forcing local development, teams can adopt remote development environments (e.g., GitHub Codespaces, Telepresence, DevPod) to keep feedback loops fast.
Microservices aren’t the problem; bad observability is
Debugging across multiple microservices is painful, but is that really the fault of microservices? Google, Netflix and Uber run massive microservices ecosystems, but they have robust observability tooling (tracing, structured logging, metrics) to mitigate complexity.
I believe many teams are jumping into microservices before investing in observability. Without proper logging, tracing and monitoring, microservices quickly become unmanageable black boxes.
Do we need PRs for every change?
Sometimes pull requests (PRs) can slow down development, and I think we need to ask ourselves if we need them. How often are you just approving PRs without a comment?
But removing them comes with risks:
- PRs provide peer review, catching bugs before they hit production.
- In regulated industries (finance, healthcare), code reviews are mandatory.
Instead of removing PRs entirely, we can:
- Use pair programming or mob programming to reduce long review cycles.
- Adopt progressive delivery techniques (e.g., feature flags) to ship code safely without blocking development.
Optimizing for development, not just deployment
Too often, we focus on deployment strategies and production performance while neglecting the developer experience. We should be asking:
- Are our microservices organized in a way that makes debugging and extending functionality easy?
- Are we investing in the right observability and tracing tools?
- Are our processes (code reviews, testing, CI/CD) helping or hindering development?
Bridging the gap between architects and developers
One of the biggest risks is having architects who don’t actively work with the code, or developers who aren’t part of architectural discussions. The result? Decisions that make theoretical sense but are painful in practice.
Most of the cost of software isn’t in hosting or infrastructure; it’s in development itself. If building new features or troubleshooting issues takes too long, it directly impacts business outcomes. A smooth development experience means faster time-to-market, which aligns perfectly with agile principles.
Final thought
Next time you make an architectural decision, ask yourself: are we optimizing for developers as much as we are for production? Because if your architecture makes development slow and painful, you’ll regret it, especially when you’re on-call at 2 AM.
Originally published on LinkedIn.