haproxy and amazon

2011-06-23 Thread Baptiste
Hi gents,

I'm looking for people who use haproxy on an amazon server.
I'm more interested by the number of hit/s you could get.

Thanks for anybody who could help :)

Regards



Re: haproxy and amazon

2011-06-24 Thread Julien Vehent

On Thu, 23 Jun 2011 16:16:59 +0200, Baptiste wrote:

Hi gents,

I'm looking for people who use haproxy on an amazon server.
I'm more interested by the number of hit/s you could get.



Compared to our multi-tomcat-jboss-ultra-threaded-and-locked 
application (that doesn't seem to like EC2 too much), Haproxy is running 
like a charm up there.
As of hit/s, well, I've never managed to saturate haproxy before 
saturating everything else in the chain, so I can't tell you.


My (limited) experience of EC2 showed me that the bottleneck are 
essentially a limited number of CPU (although quite beefy and not 
applicable to haproxy), the EBS storage (also not applicable) and, if 
you're not in a VPC, the network.
If you have issues with the latest, try running in a VPC, it seems that 
we are reaching between 1 and 1.5 gbps between instances in that env.



Julien








Re: haproxy and amazon

2011-06-24 Thread Julien Vehent

On Thu, 23 Jun 2011 16:16:59 +0200, Baptiste wrote:

Hi gents,

I'm looking for people who use haproxy on an amazon server.
I'm more interested by the number of hit/s you could get.



Compared to our multi-tomcat-jboss-ultra-threaded-and-locked 
application (that doesn't seem to like EC2 too much), Haproxy is running 
like a charm up there.
As of hit/s, well, I've never managed to saturate haproxy before 
saturating everything else in the chain, so I can't tell you.


My (limited) experience of EC2 showed me that the bottleneck are 
essentially a limited number of CPU (although quite beefy and not 
applicable to haproxy), the EBS storage (also not applicable) and, if 
you're not in a VPC, the network.
If you have issues with the latest, try running in a VPC, it seems that 
we are reaching between 1 and 1.5 gbps between instances in that env.



Julien








Re: haproxy and amazon

2011-06-24 Thread Baptiste
Hi Malcolm and Julien

Thanks a lot for your answers.
Very appreciated :)

cheers



Re: haproxy and amazon

2011-06-25 Thread Willy Tarreau
Hi Julien,

On Fri, Jun 24, 2011 at 07:57:00AM -0400, Julien Vehent wrote:
> On Thu, 23 Jun 2011 16:16:59 +0200, Baptiste wrote:
> >Hi gents,
> >
> >I'm looking for people who use haproxy on an amazon server.
> >I'm more interested by the number of hit/s you could get.
> >
> 
> Compared to our multi-tomcat-jboss-ultra-threaded-and-locked 
> application (that doesn't seem to like EC2 too much), Haproxy is running 
> like a charm up there.
> As of hit/s, well, I've never managed to saturate haproxy before 
> saturating everything else in the chain, so I can't tell you.
> 
> My (limited) experience of EC2 showed me that the bottleneck are 
> essentially a limited number of CPU (although quite beefy and not 
> applicable to haproxy), the EBS storage (also not applicable) and, if 
> you're not in a VPC, the network.
> If you have issues with the latest, try running in a VPC, it seems that 
> we are reaching between 1 and 1.5 gbps between instances in that env.

>From what I observed a few years ago, the limiting factor was not
much the data rate but the packet rate. At that time it was hard,
maybe impossible, to get more than 4-6k connections per second.

It is possible that things have improved a bit since though. Still
that's very low compared to real hardware, as a 7-Watt Atom CPU
performs equally.

Cheers,
Willy