On Sat, Feb 06, 2010 at 09:51:45AM +0100, Peter Griffin wrote: > Hi Will, > I didn't see my post in the archives and since this is a production site I > panicked. > > Thank you so much for your explanation, it's much clearer now. I will make > the changes and report back how it went. Do you think that I'd be better > off upgrading to 4Gb Ram or should 1Gb be enough?
It only depends on the number of concurrent connections. On a finely tuned system, you can sustain slightly more than 20000 connections through haproxy with 1 GB RAM. But stunnel will consume more per connection because of the SSL context which is heavier. I don't think it's reasonable to go much higher than 2-3000 concurrent connections on 1 GB RAM via stunnel+haproxy. Also, if you need that many SSL connections, you'll definitely want to set up a load balanced SSL farm or you'll sooner or later run into trouble. Regards, Willy

