hash algorithm for nginx cache

Marcus Clyne eugaia at gmail.com
Sun Apr 19 00:31:10 MSD 2009


Superfast hash is an excellent hash too

http://www.azillionmonkeys.com/qed/hash.html

Marcus.


Joe Bofh wrote:
> 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
>   






More information about the nginx mailing list