RE: what is 'round-robin'

From: MailK <[email protected]>
Date: Fri, 11 Jun 1999 12:25:41 +0800

You can have the as many entry for same cache_peer entry as round-robin to
give that cache_peer higher preferences. eg

cache_peer A parent round-robin
cache_peer A parent round-robin
cache_peer B parent round-robin

then request will be forward to

AAB AAB AAB

MK Lee
Just another Squid User

> -----Original Message-----
> From: henrik@henrik.localdomain [mailto:henrik@henrik.localdomain]On
> Behalf Of Henrik Nordstrom
> Sent: Friday, June 11, 1999 5:29 AM
> To: Chuprynin Nicholay
> Cc: squid-users@ircache.net
> Subject: Re: what is 'round-robin'
>
>
> Chuprynin Nicholay wrote:
> >
> > Hello, All!
> >
> > 1) Could anyone explain what exactly 'round-robin' mean?
>
> a b c a b c a b c a b c
>
> > 2) Is that option useful for me if I have two parents one of which is
> > more preferable than other?
>
> Nope. Only if the parents are equal.
>
> > Generally, I want to use one (non-icp) parent in most cases, and other
> > (icp) only if first parent failed to serve requests from my cache.
>
> ICP peers are currently always preferred to non-ICP peers, and there is
> currently no way to prioritize non-ICP peers other than assigning one of
> them "default" status. So what you can do is to make the preferred peer
> "default", and configure the other (ICP capable) peer as a non-icp peer
> without the "default" option.
>
> > Direct way is the most undesirable.
>
> prefer_direct off
> takes care of that.
>
> --
> Henrik Nordstrom
> Spare time Squid hacker
>
>
Received on Thu Jun 10 1999 - 22:08:38 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:50 MST