You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2022/03/23 02:54:01 UTC

[GitHub] [trafficserver] masaori335 opened a new issue #8756: Non-cryptographic hash for cache key

masaori335 opened a new issue #8756:
URL: https://github.com/apache/trafficserver/issues/8756


   We found that OpenSSL's md5 is expensive (*1). Replacing the library is an approach, but I start wondering we really need a cryptographic hash here.
   
   *1 https://github.com/apache/trafficserver/pull/8719
   
   #8755 is a PoC of using non-cryptographic has for URL hash. If we look at collision ratio and benchmarks, xxhash looks good for this use case.
   
   - https://github.com/Cyan4973/xxHash/wiki/Collision-ratio-comparison
   - https://github.com/Cyan4973/xxHash/wiki/Performance-comparison


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org