What are some tips on scaling a startup once you get massive news coverage?
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
- ChatGPT should include inline tips - 30th May 2023
- Lawyer cites fake cases invented by ChatGPT, judge is not amused - 27th May 2023
- llm, ttok and strip-tags - CLI tools for working with ChatGPT and other LLMs - 18th May 2023
- Delimiters won't save you from prompt injection - 11th May 2023
- Weeknotes: sqlite-utils 3.31, download-esm, Python in a sandbox - 10th May 2023
- Leaked Google document: "We Have No Moat, And Neither Does OpenAI" - 4th May 2023
- Midjourney 5.1 - 4th May 2023
- Prompt injection explained, with video, slides, and a transcript - 2nd May 2023
- download-esm: a tool for downloading ECMAScript modules - 2nd May 2023
- Let's be bear or bunny - 1st May 2023