The Backend Engineering Show with Hussein Nasser cover image

Consistent Hashing | The Backend Engineering Show

The Backend Engineering Show with Hussein Nasser

00:00

What Is the Best My Key Value 1000 500?

Think of this as an actual rank with the values for servers and each corner effectively. The beauty here is we have values and this is the key here. So if I take 1500, right, and module 360, I'm gonna get a value of 60. If you think about it, s 60 doesn't exist. There is no server marked 60. But here's a trick. We do have a server mark is zero. And we have a s 90. So that key will go to the next value, which is s 90. Now visually, this is easy to understand, right? Computationally, this is not as simple. Because what does that mean between 0 and 90? It

Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner