52

一致性 Hash 算法的实际应用

 5 years ago
source link: https://juejin.im/post/5c787d0e6fb9a049d236c0b9
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
前言 记得一年前分享过一篇《一致性 Hash 算法分析》,当时只是分析了这个算法的实现原理、解决了什么问题等。 但没有实际实现一个这样的算法,毕竟要加深印象还得自己撸一遍,于是本次就当前的一个路由需求来着手实现一次。 背景 看过《为自己搭建一个分布式 IM(即

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK