2 ms·
Semi related, hashing can also improve algorithms that need to evenly distribute load without actually needing any load balancer (provided on average the work p
by vlovich123 4y ago
Semi related, hashing can also improve algorithms that need to evenly distribute load without actually needing any load balancer (provided on average the work per request is roughly equal). Kind of random since good hash algorithms are non reversible and distribute the bits evenly across the space.
- chriswarbo 4y agoHashing is also deterministic, which can be useful for reproducibility. Cryptographic hashing is also a demonstration of "nothing up my sleeve". I've used this in benchmarks, where "random" choices in input selection are derived from cryptographic hashes of the inputs; so (a) anybody can reproduce a previous result, (b) every update will cause completely different selections to be made, and (c) it's difficult to force that selection into something that favours one or another system.