We split our CRM/business app traffic so 90% goes to our live data centre
and 10% across our WAN to the DR site.

I use a config similar to this...

        server prodserv1 172.24.3.11:80 weight 30 check
        server prodserv2 172.24.3.12:80 weight 15 check
        server prodserv3 172.24.3.13:80 weight 15 check
        server drserver1 172.24.190.131:80 weight 5 check
        server drserver2 172.24.190.132:80 weight 5 check

Prodserv1 is a quad core box, and prodserv[2/3] are dualcore.

The weighting approach appears to work well.

Nat,

-----Original Message-----
From: John Lauro [mailto:[email protected]] 
Sent: 04 March 2009 11:32
To: 'Michal Krajcirovic'; [email protected]
Subject: RE: metrics/ratios

A combination of weight and maxconn work well along with balance leastconn
to keep the ratios in sync, assuming they scale the same.

There are more options if weight/maxconn isn't good enough.

 

> -----Original Message-----
> From: Michal Krajcirovic [mailto:[email protected]]
> Sent: Wednesday, March 04, 2009 6:15 AM
> To: [email protected]
> Subject: metrics/ratios
> 
> Nice day from Central Europe,
> I would like to ask whether it is possible in some way haproxy set 
> metrics/ratios.
> I have a few powerful servers, but some weaker, and at the same ratio 
> of requirements to get to a large burden on the weaker, which is not 
> good.
> 
> Thanks a lot for the tips, nice day.
> 
> Michal Krajcirovic


**************************************************************************************************************
This document should only be read by those persons to whom it is addressed, and 
be used by them for its intended purpose; and must not otherwise be reproduced, 
copied, disseminated, disclosed, modified, distributed, published or actioned. 
If you have received this email in error, please notify us immediately by 
telephone on 01437 775882 and delete it from your computer immediately. This 
email address must not be passed on to any third party nor be used for any 
other purpose.
Pembrokeshire County Council Website - http://www.pembrokeshire.gov.uk
This signature also confirms that this email message has been swept for the 
presence of computer viruses and malicious code.
***************************************************************************************************************
Dim ond y sawl y mae'r ddogfen hon wedi'i chyfeirio atynt ddylai ei darllen, 
a'i defnyddio ganddynt ar gyfer ei dibenion bwriadedig; ac ni ddylid fel arall 
ei hatgynhyrchu, copio, lledaenu, datgelu, addasu, dosbarthu, cyhoeddi na'i 
rhoi ar waith chwaith. Os ydych chi wedi derbyn yr e-bost hwn trwy gamgymeriad, 
byddwch cystal a rhoi gwybod i ni ar unwaith trwy ffonio 01437 775882 a'i 
ddileu oddi ar eich cyfrifiadur ar unwaith. Ni ddylid rhoi'r cyfeiriad e-bost i 
unrhyw drydydd parti na'i ddefnyddio ar gyfer unrhyw ddiben arall chwaith.
Gwefan Cyngor Sir Penfro - http://www.pembrokeshire.gov.uk 
Mae'r llofnod hwn hefyd yn cadarnhau bod y neges e-bost hon wedi cael ei 
harchwilio am fodolaeth firysau cyfrifiadurol a chod maleisus.
***************************************************************************************************************

Reply via email to