alexott / squid-gsb

Support for Google Safe Browsing API in Squid
http://alexott.net/en/cf/squid-gsbapi.html
GNU General Public License v2.0
8 stars 1 forks source link

improve memory consumption for hashes in multi-redirector setup #6

Open alexott opened 13 years ago

alexott commented 13 years ago

For performance reasons, squid has the possibility to spawn multiple instances of the same redirector. I notice, this needs quite some memory, probably because of the multiple instances of the same hash table being created. Some type of shared-memory or memory-mapped file used for the hash-table, which can be read by all redirectors, should reduce memory requirements significantly, I guess.