/ Zope / Apsis / Pound Mailing List / Archive / 2006 / 2006-05 / pound scheduling method ?

[ << ] [ >> ]

[ SSL Headers / Will Tatam <wtatam(at)premierit.c... ] [ strange behaviour - stops balancing after doing ... ]

pound scheduling method ?
Oskar Casquero Oiarzabal <oskar.casquero(at)ehu.es>
2006-05-26 11:39:18 [ FULL ]
Hello,

I'm going to test Pound for balancing in our Plone based e-learning 
platform. I have setup a cluster in the following way: Squid -> Pound -> 
ZeoClients 
(http://plone.org/documentation/how-to/simple-zope-clustering-with-squid-and-pound).

I have configured pound with cookie value session tracking, which works 
well, but I can't see what type of scheduling method pound implements (I 
thought that it was round robin, but it doesn't seem to be it). Perhaps 
I haven't configured Pound properly.

The pound configuration file is the following:

ListenHTTP
  Address 127.0.0.1
  Port    8080
  Service
     Session
        Type    Cookie
        ID      "_ZopeId"
        TTL     1800
     End
     BackEnd
        Address 192.168.1.5
        Port    8080
     End
     BackEnd
        Address 192.168.1.5
        Port    8081
     End
     BackEnd
        Address 192.168.1.5
        Port    8082
     End
  End
End


Thanks in advance.

Regards,
Oskar
[...]

Re: [Pound Mailing List] pound scheduling method ?
Robert Segall <roseg(at)apsis.ch>
2006-05-29 18:58:48 [ FULL ]
On Fri, 2006-05-26 at 11:39 +0200, Oskar Casquero Oiarzabal wrote:[...]

I'm not sure why the scheduling method is important, but if it really
matters to you: Pound distributes the requests randomly to the
back-ends. The actual distribution is uniform, but weighed as per the
priority parameter (a back-end with priority 2 is twice as likely to get
a request as a back-end with priority 1).

It goes without saying that the above applies only in the absence of
sessions - with sessions this is true only of the initial request.[...]

MailBoxer