[squid-users] Question on developing customized Cache Selection algorithm from Round Robin, Least Load

Du, Hongfei Hongfei.Du at InterDigital.com
Mon Aug 17 17:42:45 UTC 2015

We are in an attempt to extend Squid Cache selection algorithm to make a more sophisticated, let’s say to add WRR or WFQ, a few questions to start with:

-        As we probably has to rewrite new algorithm and recompile it, so does anyone know where(or which file) is the existing Round Robin or Least Load algorithm defined in source codes?

-        Is there straight forward method to tell/instruct squid to store content from network(e.g. an URL) in a predefined specific disk folder rather than using the selection algorithm itself?

Any help would be very much appreciated!


Hongfei Du
Staff Engineer (UK Software)
InterDigital UK, Inc.
Shoreditch Business Center
64 Great Eastern Street
London,  EC2A 3QR
T: +44 207.749.9140
Hongfei.Du at InterDigital.com

[cid:imagef00a56.BMP at 7a20fae9.4f930ca1]

This e-mail is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and/or otherwise protected from disclosure to anyone other than its intended recipient. Unintended transmission shall not constitute waiver of any privilege or confidentiality obligation. If you received this communication in error, please do not review, copy or distribute it, notify me immediately by email, and delete the original message and any attachments. Unless expressly stated in this e-mail, nothing in this message or any attachment should be construed as a digital or electronic signature.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150817/6ad92bd9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagef00a56.BMP
Type: image/bmp
Size: 13078 bytes
Desc: imagef00a56.BMP
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150817/6ad92bd9/attachment-0001.bin>

More information about the squid-users mailing list