3 ms·
I've been on the front page of HN a few times, and my site has never gone down due to the hug of death. My setup is a simple low spec VM running under Microsoft
by Jaruzel 6y ago
I've been on the front page of HN a few times, and my site has never gone down due to the hug of death. My setup is a simple low spec VM running under Microsoft Hyper-V on an aging twin Xeon tower server. My site is Apache+PHP on Debian with no SQL backend; the PHP uses templates and flat files. Rock solid, and can really take a hammering.
I'm starting to think that it's time for people to stop using WordPress+MySQL and move over to something more performant.
- ls65536 6y agoI also run a project with Apache+PHP on Debian, with SQLite and a standalone C program that it interacts with running on the same machine. The whole setup runs on a single, low-spec VPS, and it too easily withstood the HN front page a few months ago [0], with plenty of capacity to spare. I've found it amazing how much you can do these days with even a cheap VPS, and how many requests you can serve as long as you're disciplined about not going overboard with excessive dynamic content and knowing where your scalability pain points are (sometimes this isn't obvious until you really get a lot of traffic!). [0] https://news.ycombinator.com/item?id=23661326 https://news.ycombinator.com/item?id=23661326