Skip to content

Comment on Using Flat Files So Elections Don’t Break Your Serverparent

Comments

So I know nothing about haproxy, but what sort of system load does it generate?

They say they ran it on a EC2 micro instance, and the micro instances are specifically designed to handle spikes, not continuous heavy load. In fact, they intentionally throttle under continuous heavy load.

I guess it must have been the right choice for them, I was just surprised to see it was a micro. Would that typically be the right way to go?

HAProxy is very light. We put it between nginx and our webservers for better failure handling, load-balancing, and some additional logging detail. On a small system (single AMD 1226) it's averaged 3% CPU over the last 15 days while handling ~300M requests.

The micro instance was fronting the render farm. As far as I can tell the article doesn't specify the instance types in use for any of the other components.

Ah! I see that now, thanks for pointing that out!

AboutSource Built by g1lg1l

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