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
- AI for Data Journalism: demonstrating what we can do with this stuff right now - 17th April 2024
- Three major LLM releases in 24 hours (plus weeknotes) - 10th April 2024
- Building files-to-prompt entirely using Claude 3 Opus - 8th April 2024
- Running OCR against PDFs and images directly in your browser - 30th March 2024
- llm cmd undo last git commit - a new plugin for LLM - 26th March 2024
- Building and testing C extensions for SQLite with ChatGPT Code Interpreter - 23rd March 2024
- Claude and ChatGPT for ad-hoc sidequests - 22nd March 2024
- Weeknotes: the aftermath of NICAR - 16th March 2024
- The GPT-4 barrier has finally been broken - 8th March 2024
- Prompt injection and jailbreaking are not the same thing - 5th March 2024