Skip to content

Comment on Ask HN: How do you prepare for “HN Hug of death”?parent

Comments

Make as much of the app static as possible. Run as much of the logic in the browser as possible.

Once you've isolated the "must be on the server" stuff, put an intelligent rate limit on it, add auto-scaling with upper limits, and prepare a page to be shown when the server goes down.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.