Scaling Your App: Horizontal vs Vertical — A Lord of the Rings Quest
The Quest Begins (The “Why”) Honestly, I remember the day our little side‑project started to feel like a dragon hoarding gold. We had a neat Express API that served JSON to a React frontend, and everything was smooth until our user base jumped from a few hundred to a few thousand requests per minute. The CPU on our single t2.medium instance spiked, latency crept up, and users started seeing those dreaded “502 Bad Gateway” pages. I felt like Frodo staring at Mount Doom, wondering if I had enough stamina to keep going. The obvious answer was “make the server bigger,” but I’d heard whispers about
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in