A developer revisits Stack Overflow's 2016 architecture, a single .NET monolith on nine servers handling 200 million daily requests, and argues teams should build a monolith before paying for distributed complexity.
Key points
- Nine on-premise web servers served roughly 200 million requests a day from one .NET application.
- Page build time averaged about 20 ms because logic ran in-process instead of over internal HTTP calls.
- Three cache tiers: local process memory first, Redis second, SQL Server only when both miss.
- The SQL Server machine carried 384 GB of RAM, keeping the hot working set off disk.
- The author argues for starting with a monolith while domain boundaries are still shifting.
- Atomic transactions and a single deployment are named as the monolith's everyday practical wins.
Why it matters
The real question this raises for a .NET team is architectural sequencing. Microservices are usually adopted for team autonomy and independent deploys, not for raw speed, and if that is your reason, say it out loud instead of blaming latency.
What you should check before copying this design: the numbers date from 2016 on bare metal, while cloud RAM is rented monthly and a managed database tier changes the calculus completely. Measure your working set and your slowest query first; if the domain boundaries are still moving, a single deployable ASP.NET Core app with a compiler-checked refactor loop remains the cheaper place to learn.
Real-world use
- A high-traffic SaaS platform that would otherwise split auth, billing, notification and analytics services on day one.
- A read-heavy public site whose working set fits in database RAM and needs a short execution path per request.
- A product whose requirements and domain boundaries are still evolving, where refactoring is cheaper than coordinating API contracts.
This summary was generated by the agent from the original post on DEV Community: #dotnet. The full text and all rights belong to its author and publisher. Go to original