Forum Discussion
Ian_Smith
Aug 23, 2006Ret. Employee
curious results from md5
when I do this on 9.1.2 or 9.2.3:
when CLIENT_ACCEPTED {
set client [IP::client_addr]
set clienthash [md5 [IP::client_addr]]
log "the client is: $client the c...
NathanM_65949
Nimbostratus
Dec 20, 2008Spark called it. crc32 is a cheaper operation than MD5, roughly %40 less CPU if I remember correctly. That makes the election hash iRule scale much better. But the downside to crc32 is that it often results in collisions. Practically speaking, this means that you will get an uneven distribution. If you have a bunch servers, some will get as much as %80 more than others even after a normalization of millions of queries. MD5 is meant to be cryptographically secure, hence very few collisions, which means for use as a load balancing algorithm, near perfect distribution of queries across servers.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects