Alternative to HAProxy + Nginx

What is a good alternative to HAProxy + Nginx?

I would like to implement a load balancer that is a plug in within nginx
but
is better than what fair currently does.

Please advise

regards

Asif

On Dec 30, 2008, at 10:50 AM, Asif A. wrote:

What is a good alternative to HAProxy + Nginx?

I would like to implement a load balancer that is a plug in within
nginx but is better than what fair currently does.

Please advise

regards

Asif

Asif-

Give this module a try:

It does exactly what you want.

Cheers-
Ezra Z.
[email protected]

I haven’t seen any additional latencies, in fact i;ve seen decreased
latencies. One thing to keep in mind is that the maxxconss is per
nginx worker
so if you have maxxconss=1 and 4 nginx workers you will
end up with 4 conns to each mongrel.

I suggest starting with one or 2 nginx workers and maxxconns=1.

Cheers-
-Ezra

On Jan 2, 2009, at 4:37 AM, Asif A. wrote:

Does this add this delay or am I missing something from my side…

wrote:
regards

Cheers-
Ezra Z.
[email protected]

Ezra Z.
[email protected]

Ezra

Taken it to production and it works very well…

regards

Asif A.

Great glad it’s working for you.

-Ezra

On Jan 5, 2009, at 1:36 PM, Asif A. wrote:

With a regular mongrel + fair - I am able to process my requests

  Give this module a try:   http://github.com/ezmobius/nginx-ey-balancer/tree/master

Ezra Z.
[email protected]

Ezra Z.
[email protected]

Ezra,

I have been testing it for a while and seems to be working fine. Tests
are
still on…

I have an important question

With a regular mongrel + fair - I am able to process my requests about
200ms lower than with the EY Load Balancer.

Does this add this delay or am I missing something from my side…

Please advise

regards

Asif A.

Hi Ezra,

We had also faced the same problem and right now it is fixed after
applying the patches suggested by you in this thread.

All the above discussion is for Nginx 0.6.34.

Also i am glad to know that is there the same kind of patch is available
for Nginx 0.6.35 (latest stable version).

Thanks,

Mohamed Yusuf
[email protected]

Ezra Z. wrote:

Great glad it’s working for you.

-Ezra

On Jan 5, 2009, at 1:36 PM, Asif A. wrote:

With a regular mongrel + fair - I am able to process my requests

  Give this module a try:   http://github.com/ezmobius/nginx-ey-balancer/tree/master

Ezra Z.
[email protected]

Ezra Z.
[email protected]