Forum: NGINX Alternative to HAProxy + Nginx

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
A8b5da3407c1d4dc9666ce8ae8214a72?d=identicon&s=25 Asif Ali (Guest)
on 2008-12-30 20:04
(Received via mailing list)
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
6076c22b65b36f5d75c30bdcfb2fda85?d=identicon&s=25 Ezra Zygmuntowicz (Guest)
on 2008-12-30 20:14
(Received via mailing list)
On Dec 30, 2008, at 10:50 AM, Asif Ali 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:
http://github.com/ezmobius/nginx-ey-balancer/tree/master

  It does exactly what you want.

Cheers-
Ezra Zygmuntowicz
ez@engineyard.com
A8b5da3407c1d4dc9666ce8ae8214a72?d=identicon&s=25 Asif Ali (Guest)
on 2009-01-02 13:56
(Received via mailing list)
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 Ali
6076c22b65b36f5d75c30bdcfb2fda85?d=identicon&s=25 Ezra Zygmuntowicz (Guest)
on 2009-01-02 18:20
(Received via mailing list)
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 Ali wrote:

> Does this add this delay or am I missing something from my side..
> > wrote:
> regards
>
> Cheers-
> Ezra Zygmuntowicz
> ez@engineyard.com
>
>
>
>

Ezra Zygmuntowicz
ez@engineyard.com
A8b5da3407c1d4dc9666ce8ae8214a72?d=identicon&s=25 Asif Ali (Guest)
on 2009-01-05 22:43
(Received via mailing list)
Ezra

Taken it to production and it works very well..

regards

Asif Ali
6076c22b65b36f5d75c30bdcfb2fda85?d=identicon&s=25 Ezra Zygmuntowicz (Guest)
on 2009-01-06 01:05
(Received via mailing list)
Great glad it's working for you.

-Ezra


On Jan 5, 2009, at 1:36 PM, Asif Ali 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 Zygmuntowicz
> ez@engineyard.com
>
>
>
>

Ezra Zygmuntowicz
ez@engineyard.com
1eff96b7abc66cfd99ab06db46ac6863?d=identicon&s=25 Mohamed Yusuf (visityusuf)
on 2009-03-24 10:16
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
visityusuf@gmail.com


Ezra Zygmuntowicz wrote:
> Great glad it's working for you.
>
> -Ezra
>
>
> On Jan 5, 2009, at 1:36 PM, Asif Ali 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 Zygmuntowicz
>> ez@engineyard.com
>>
>>
>>
>>
>
> Ezra Zygmuntowicz
> ez@engineyard.com
This topic is locked and can not be replied to.