nanog mailing list archives
Re: how many bits of entropy do we need for load balancing?
From: nanog () jack fr eu org
Date: Tue, 15 Dec 2020 01:25:39 +0100
o/ Small of out topic On 12/14/20 7:16 PM, Lawrence Wobker wrote:A “perfect” balancing algorithm would be crypto grade hash generation with a large output, and a true modulo operation to select which member we use.
There are 3 kind of hashing algorithmThe first one is used to check the sanity of input, against bit-swapping error for instance
See CRC for instance Those algorithm are deadly fast, but also dumb as hell The second one is used for cryptographic purposesWhile the output distribution is supposed to be quite good, its most important aspect lies here: it is hard to craft an input matching a specific hash
See sha256 for instance The last one combines both speed and output distribution See xxhash for instanceUnless you have a specific security thing in mind, you shall never use a crypto-grade hash algorithm
Current thread:
- how many bits of entropy do we need for load balancing? Pascal Thubert (pthubert) via NANOG (Dec 14)
- Message not available
- Re: how many bits of entropy do we need for load balancing? Lawrence Wobker (Dec 14)
- Re: how many bits of entropy do we need for load balancing? nanog (Dec 14)
- Re: how many bits of entropy do we need for load balancing? Saku Ytti (Dec 14)
- Re: how many bits of entropy do we need for load balancing? Jay Hennigan (Dec 15)
- Re: how many bits of entropy do we need for load balancing? Masataka Ohta (Dec 15)
- Re: how many bits of entropy do we need for load balancing? Masataka Ohta (Dec 15)
- Re: how many bits of entropy do we need for load balancing? Lawrence Wobker (Dec 14)
- Message not available
- Re: how many bits of entropy do we need for load balancing? Saku Ytti (Dec 14)