What are some tips on scaling a startup once you get massive news coverage?
27th September 2013
My answer to What are some tips on scaling a startup once you get massive news coverage? on Quora
It’s pretty rare for press coverage to drive large amounts of traffic—even if you get stories on a bunch of big news site you’re very unlikely to see a traffic spike of more than 20-30 hits a second, which most reasonably well built web applications should be able to handle.
An easy way of protecting yourself against unexpected (or expected) traffic spikes is to configure Varnish to serve cached pages to logged-out users with a 60 second (or longer) cache expiry. Most users checking your site out from a news link will not be logged in, so this lets Varnish soak up load spikes without having any negative effect on your regular users.
Varnish van quite happily handle thousands of requests a second even on low end servers, so it’s a great tool to have in your stack.
More recent articles
- Weeknotes: datasette-enrichments, datasette-comments, sqlite-chronicle - 8th December 2023
- Datasette Enrichments: a new plugin framework for augmenting your data - 1st December 2023
- llamafile is the new best way to run a LLM on your own computer - 29th November 2023
- Prompt injection explained, November 2023 edition - 27th November 2023
- I'm on the Newsroom Robots podcast, with thoughts on the OpenAI board - 25th November 2023
- Weeknotes: DevDay, GitHub Universe, OpenAI chaos - 22nd November 2023
- Deciphering clues in a news article to understand how it was reported - 22nd November 2023
- Exploring GPTs: ChatGPT in a trench coat? - 15th November 2023
- Financial sustainability for open source projects at GitHub Universe - 10th November 2023
- ospeak: a CLI tool for speaking text in the terminal via OpenAI - 7th November 2023