atom feed7 messages in ru.sysoev.nginxRe: DHT upstream module + nginx patches
FromSent OnAttachments
Peter SchüllerOct 9, 2009 1:46 am.gz, .diff
W-Mark KubackiOct 9, 2009 2:28 am 
Peter SchüllerOct 9, 2009 3:09 am 
bit bullOct 9, 2009 7:59 pm 
Peter SchüllerOct 27, 2009 3:13 am 
ChieuNov 1, 2009 12:45 am 
Peter SchüllerNov 3, 2009 9:45 am 
Subject:Re: DHT upstream module + nginx patches
From:Peter Schüller (sco@spotify.com)
Date:Oct 9, 2009 3:09:38 am
List:ru.sysoev.nginx

Thank you for sharing! At least, I am interested.

We're glad :)

 * Add support for SHA1 in the caching module. [...]

No need to use cryptographic hashes in such an application. They're slower than those I will mention below and you don't really need the "from a given output bit you cannot judge to an input bit". It is sufficient that every output bit will be toggled at a probability of ~50%, thus of a almost perfect dispersion.

The only reason we moved to SHA1 was consistency with other (internal) systems. Performance (of the hashing algorithm) is not an issue in our use case.

I did not mean to imply that we felt MD5 was insufficient for the purposes of the caching module.