logo       

Re: [Pound Mailing List] pound scheduling method ?: msg#00056

web.pound.general

Subject: Re: [Pound Mailing List] pound scheduling method ?

On Fri, 2006-05-26 at 11:39 +0200, Oskar Casquero Oiarzabal wrote:
> 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

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.
--
Robert Segall
Apsis GmbH
Postfach, Uetikon am See, CH-8707
Tel: +41-44-920 4904


--
To unsubscribe send an email with subject 'unsubscribe' to
pound-Ws3YcLWMCpvhvxM+mQhndA@xxxxxxxxxxxxxxxx
Please contact roseg-Ws3YcLWMCps@xxxxxxxxxxxxxxxx for questions.
http://www.apsis.ch/pound/pound_list/archive/2006/2006-05/1148636358000/1148921928000



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise