Re:Handling server load for the Raspberry Pi Zero launch
by stefantalpalaru on Saturday November 28, 2015 @09:14AM
(#10641097)
Wouldn't it be better to setup a caching reverse proxy like Varnish? I bet there are configuration examples out there to help you run it with Wordpress.
[ Parent
| on HN ]
Re:Handling server load for the Raspberry Pi Zero launch
by jacquesm on Saturday November 28, 2015 @09:35AM
(#10641145)
Varnish would do just fine, ditto Nginx, or they could have used cloudflare or some other service.
The funny thing for me is that they make it seem as if 10K concurrent users is a 'big deal' for a bunch of static pages. If you're not interacting in real time a little bit of caching or page generation will go a long way towards being able to serve up a huge number of viewers / participants.
Re:Handling server load for the Raspberry Pi Zero launch
by gabemart on Saturday November 28, 2015 @10:03AM
(#10641203)
I've had 10k concurrent users on a bandwidth-intensive app served statically from 3 $5 digital ocean droplets using nginx. CPU usage and memory usage were not that high. I agree it's not a big deal.
Re:Handling server load for the Raspberry Pi Zero launch
by gsteinb88 on Saturday November 28, 2015 @09:34AM
(#10641143)
This was exactly my reaction -- while nice that they could get a solution in a few lines of perl, quotes like
> During the day we improved and deployed this same code to the MagPi site including some horrid hackery to cache popular GET request combinations.
make me think they would have been much better served using a pre-existing solution (probably Varnish) that's built to do exactly this. This article reads like a major case of reinventing the wheel.