hash algorithm for nginx cache

Joe Bofh lists at ruby-forum.com
Sat Apr 18 22:27:11 MSD 2009


Igor,

It looks like nginx now has the beginnings of caching which is exciting
as I am looking forward to comparing this with varnish.

I did notice in the docs that the key/filename is a md5 hash. Have you
looked at the recent MurmurHash/FNV-1a hashes?

They are at least 2x faster than md5 which would be useful in this
scenario.

See
http://search.cpan.org/~tmaesaka/Digest-MurmurHash-0.10/lib/Digest/MurmurHash.pm#BENCHMARK
http://murmurhash.googlepages.com/

for sample implementations.

--j
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list