The 90% Tax Refund: How Amazon Prime Video's 'Monolith Confession' Ended the Microservices Religion
In May 2023, an Amazon engineering team quietly admitted they'd ripped out microservices and replaced them with a monolith β cutting costs by 90%. The internet lost its mind, and tech's decade-long religious war over architecture finally cracked open.
The Blog Post That Broke the Internet
It was a Tuesday morning in May 2023 when a mid-level engineering team at Amazon Prime Video published what they thought was a routine technical retrospective. The title was dry, almost boring: "Scaling up the Prime Video audio/video monitoring service and reducing costs by 90%." Buried in the second paragraph was a sentence that would detonate across every engineering Slack channel and Hacker News thread for the next three weeks: they had migrated their service away from microservices and AWS Step Functions β and back into a monolith.
For an industry that had spent nearly a decade preaching microservices as the one true path to scale, this was heresy delivered from the mothership. This wasn't some scrappy startup admitting failure. This was Amazon β the company whose own API mandate, Jeff Bezos' legendary 2002 decree that every team must expose its data through service interfaces "or else," had basically invented the modern service-oriented architecture playbook. If Amazon was quietly walking it back, what exactly had the rest of the industry been building for the last ten years?
The Honeymoon (2014β2020)
To understand why the Prime Video post hit like a grenade, you have to remember the religion it was breaking.
By 2015, "microservices" wasn't just an architecture β it was a job title, a conference circuit, and a personality. Netflix bragged about running over 700 microservices to stream to 200 million subscribers. Uber's engineering blog became required reading when they disclosed they were running more than 4,000 services. Spotify's "autonomous squads" model β small teams owning small services end-to-end β got turned into a consulting framework that companies with 40 engineers tried to copy, even though Spotify itself later admitted the model didn't scale as cleanly as the famous diagram suggested.
Every tech conference keynote between 2014 and 2019 followed the same arc: a monolith was framed as legacy shame, a microservices migration was framed as enlightenment, and Kubernetes was the holy water. Startups with twelve engineers were spinning up thirty services before they had product-market fit, because that's what "real" engineering organizations did. Docker, Kubernetes, Istio, service meshes, distributed tracing vendors β an entire industry grew up selling shovels for a gold rush that, for most companies, didn't actually exist.
The Hangover
The disillusionment crept in slowly, then all at once.
Engineers discovered that a function call inside a monolith takes nanoseconds, while the equivalent call over a network to a microservice takes milliseconds β a difference of roughly 1,000x, every single time, multiplied across every hop in a request chain. Prime Video's own post detailed the mechanics: their video quality monitoring pipeline used a distributed system of AWS Lambda functions orchestrated by Step Functions, with each orchestration step incurring cost and β critically β hitting an AWS service quota limit as the number of streams scaled. Every video frame check meant another round trip, another state transition, another dollar.
Then there was the on-call nightmare. Debugging a single user-facing error used to mean reading a stack trace. Now it meant opening Jaeger or Zipkin, tracing a request across fifteen, twenty, thirty service hops, correlating logs across different teams' systems, different data stores, different deploy schedules β and hoping someone was awake in the right timezone. Teams had embraced "polyglot persistence," the idea that each microservice should use whatever database best suited its needs β Postgres here, DynamoDB there, Cassandra over there. In practice, this created data consistency hell: the same business entity represented three different ways in three different stores, reconciled by brittle event pipelines that broke quietly and often.
And then there was the quietest cost of all: idle infrastructure. Companies were running 50 microservices to handle the load that one, maybe two of those services actually needed. Netflix-scale infrastructure, applied to non-Netflix-scale problems. Engineers started calling it the "microservices tax" β the fixed overhead of orchestration, networking, monitoring, and deployment complexity you pay on every service, whether or not it's doing meaningful work. Prime Video's fix wasn't exotic: they moved the monitoring logic into a single process, a monolith, deployable as one unit on Amazon ECS, and dropped infrastructure cost by 90% while improving scaling headroom by more than 5x.
The Monolith Strikes Back
Amazon wasn't an outlier β it was late to a comeback others had been quietly building for years.
David Heinemeier Hansson, the creator of Ruby on Rails and co-founder of 37signals, had been writing about the "Majestic Monolith" since 2015, arguing that most companies would never reach the scale that justified microservice complexity, and that splitting a codebase prematurely just moved complexity from inside your code to between your servers β the worst possible place to put it. In 2022, DHH took it further, pulling 37signals' products off the cloud entirely and back onto owned bare-metal servers, calling cloud rental costs a tax on companies too scared to own their own infrastructure. For a company doing roughly $240,000 a year on cloud bills, buying their own hardware paid for itself in months.
Shopify told a similar story, but at a scale that mattered more to skeptics. Rather than shattering into thousands of microservices to survive Black Friday β historically its single highest-traffic event of the year, processing millions of checkouts per minute β Shopify kept its core as a massive Ruby on Rails monolith, famously one of the largest Rails codebases in the world. Their answer to scale wasn't service sprawl; it was cell-based architecture, nicknamed "Pods": the monolith gets duplicated across isolated infrastructure cells, each one handling a slice of merchants independently, so a failure or spike in one pod can't cascade into the whole platform. It's horizontal scaling of the monolith itself, not fragmentation into hundreds of independently deployed services.
GitHub never left the monolith in the first place. Sixteen-plus years later, GitHub.com still runs on a single Ruby on Rails application β a fact that surprises engineers who assume a platform serving 100 million developers must be a sprawling service mesh. Stack Overflow became the industry's favorite flex of all: for years the entire Q&A site β one of the most trafficked websites on earth β ran on a mere nine on-premise servers, a testament to how far a well-optimized monolith with vertical scaling can go before you need to distribute anything.
The Turning Point: It Was Never Monolith vs. Microservices
The real lesson that emerged from the wreckage wasn't "monoliths good, microservices bad." It was that the industry had been asking the wrong question. Microservices genuinely do make sense in specific conditions: when subsystems have wildly different scaling profiles (Netflix's encoding pipeline versus its billing system), when an engineering org has grown past the point where fifty people can safely ship from one codebase, or when teams truly cannot coordinate releases without stepping on each other.
But most companies hit "we need microservices" as a symptom of Conway's Law running backwards. Small teams built monoliths, grew headcount, and assumed the architecture had to fragment to match the org chart β when really, the better move was to keep the deployable unit whole and enforce boundaries inside it. This is the architectural middle ground that 2024's survivors converged on: the modular monolith β a single deployable application internally organized into strict bounded contexts (borrowed straight from Domain-Driven Design), where module boundaries are enforced by package structure and linting rules, not network calls. Some teams call the more battle-tested version the "Citadel" pattern: one dominant monolith at the center, with only the handful of components that have proven, measured, genuine independent scaling needs carved out as actual services.
The Legacy
By 2026, the consensus among serious engineering leaders has quietly reversed itself from a decade ago: start with a monolith. Organize it well, enforce module boundaries religiously, and only extract a service when you have real evidence β not a conference talk β that demands it. The reason is asymmetric risk: you can extract a microservice from a well-structured monolith in weeks once the need is proven. But you almost never get to put the toothpaste back in the tube β unwinding a tangled web of thirty prematurely-split services back into something coherent is a multi-year, often career-ending migration.
Amazon's Prime Video team didn't invent a new idea in that May 2023 blog post. They just said the quiet part out loud, with real numbers attached β and gave an entire industry permission to admit what their on-call rotations already knew.
Keep Reading
11 Stars or Bust: How Brian Chesky's Craziest Whiteboard Question Saved Airbnb From Mediocrity
In 2012, with Airbnb bleeding credibility and copycats circling, Brian Chesky stood in front of his team and asked them to design a hotel stay so good it would require a private jet. The exercise sounded insane. It rewired the entire company.
Arm the Rebels: How a Failed Snowboard Shop Became Shopify's $100 Billion Anti-Amazon Strategy
In the winter of 2004, a 23-year-old German programmer couldn't sell a single snowboard online β so he built his own e-commerce platform out of spite. Twenty years later, that side project powers more online stores than Amazon has products.
The 10-Slide Rule That Made Billion-Dollar Pitches: How Guy Kawasaki Watched 2,000 Startups Fail at Apple β Then Wrote the Presentation Manifesto That VCs Still Use Today
In 1987, Guy Kawasaki sat through his 2,000th terrible pitch at Apple and realized the problem wasn't the ideas β it was that every founder was using the exact same 60-slide deck. So he wrote down ten rules on a napkin that would change startup pitching forever.