Squid's neighbor selection algorithm is roughly as follows:

This algorithm has a couple of shortcomings

A proposal

It would be nice to support some missing features above, e.g.:

I would like to have a mathematical algorithm which could be used to rank the candidate sources. Each factor in the decision can be assigned a relative weight. For example

We also probably need at least two more configuration options:

Ranking candidate sources in this manner will certainly require more CPU cycles. Is the tradeoff worth it?


neighbor-selection-proposal.html,v 1.3 1997/01/10 21:01:19 wessels Exp