Hi all,
I am having a hard time figuring out the semantics of round-robin. This is
how I believe round robin works:
I) if server X has servers A and B configured as round robin parents,
using the following config lines:
cache+AF8-host A parent 3128 3130 round-robin no-query
cache+AF8-host B parent 3128 3130 round-robin no-query
then squid forwards request to the parent with the least HTTP request count
(without sending queries to either peer).
II) On the other hand, if server X has servers A and B configured using
the following config lines:
cache+AF8-host A parent 3128 3130 round-robin
cache+AF8-host B parent 3128 3130 round-robin
then both servers are treated as default parents.
I ran an experiment using config. (I) In this case server X always went to
the originating server for the document and did not distribute the requests
as I expected. Is there any other config parameter that I should set? or am
I misinterpreting how round-robin works?
One last question: What happens if I have a third parent C that is not
configured as a round-robin peer? For example:
cache+AF8-host A parent 3128 3130 round-robin no-query
cache+AF8-host B parent 3128 3130 round-robin no-query
cache+AF8-host C parent 3128 3130
Thanks.
- Sulaiman A. Mirdad
Received on Thu Sep 03 1998 - 18:01:44 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:52 MST