# Questions about fair\_upstream module

**URL:** <https://www.ruby-forum.com/t/questions-about-fair-upstream-module/217826>\
**Category:** NGINX\
**Created:** [March 14, 2012, 11:18am UTC](https://www.ruby-forum.com/t/questions-about-fair-upstream-module/217826 "2012-03-14T11:18:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [March 14, 2012, 11:18am UTC](https://www.ruby-forum.com/t/questions-about-fair-upstream-module/217826/1 "2012-03-14T11:18:48Z")

</div>

Hi,  
I’m actually serving pages using nginx-1.0.13 on fbsd-8.2 amd64 with 3  
backends (fbsd-8.2 amd64 with apache-2.2.22) and I’m using the default  
rr  
upstream algorithm.

I am trying to switch to an algorithm different from rr, and I am  
thinking  
to the fair upstream module.

Well, the homepage of the project seems quite old (and so it’s ticketing  
system: [http://nginx.localdomain.pl/report/6](http://nginx.localdomain.pl/report/6)) and that’s not a good  
starting point 🙂

Anyway, “googling” around searching for tips and use cases, I found:

> **[Comparing Nginx and HAProxy for web applications](https://affectioncode.wordpress.com/2008/06/11/comparing-nginx-and-haproxy-for-web-applications/)**
>
> The last few days I have been comparing Nginx to HAProxy, with surprising results. First, a bit of background. For a long time we at Bengler have been using Nginx as the main web server for our pro…

that seems a very old post.

Does anyone use fair-upstream module in production? Any hints or tips  
before trying it?

Differences between fair-module and haproxy?

Thanks in advance,

–  
d.

---

<div class="post-metadata">

**Author:** ![Davide\_DSAmico](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/eb9ed0/32.png) [@Davide\_DSAmico](https://www.ruby-forum.com/u/Davide_DSAmico)\
**Post date:** [March 14, 2012, 12:19pm UTC](https://www.ruby-forum.com/t/questions-about-fair-upstream-module/217826/2 "2012-03-14T12:19:11Z")

</div>

On Wed, Mar 14, 2012 at 11:18:09AM +0100, Davide D’Amico wrote:

> starting point 🙂
> 
> Anyway, “googling” around searching for tips and use cases, I found:

> **[Comparing Nginx and HAProxy for web applications](https://affectioncode.wordpress.com/2008/06/11/comparing-nginx-and-haproxy-for-web-applications/)**
>
> The last few days I have been comparing Nginx to HAProxy, with surprising results. First, a bit of background. For a long time we at Bengler have been using Nginx as the main web server for our pro…

> that seems a very old post.
> 
> Does anyone use fair-upstream module in production? Any hints or tips  
> before trying it?
> 
> Differences between fair-module and haproxy?

Just the note: nginx with nginx\_upstream\_fair module version 20090923  
(i.e. dated material) available from FreeBSD ports tree.

haproxy is the different product, the proxy server.

–  
Sergey A. Osokin  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![Davide\_DSAmico](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/eb9ed0/32.png) [@Davide\_DSAmico](https://www.ruby-forum.com/u/Davide_DSAmico)\
**Post date:** [March 15, 2012, 7:53am UTC](https://www.ruby-forum.com/t/questions-about-fair-upstream-module/217826/3 "2012-03-15T07:53:56Z")

</div>

In data 14 marzo 2012 alle ore 13:00:00, [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) ha  
scritto:

> > backends (fbsd-8.2 amd64 with apache-2.2.22) and I’m using the default
> 
> (i.e. dated material) available from FreeBSD ports tree.  
> So if I wish to use upstream\_fair I have to compile it? Or newer  
> versions  
> of upstream\_fair don’t compile on fbsd-8?

> haproxy is the different product, the proxy server.

Yes, and I don’t want to install other two server carp’ed in a chain to  
use haproxy ☹

–  
d.
