摘要: 主题: 设计一个分布式的缓存系统(类似redis) Senario 分析: 功能需求: put(key,value) get(key) 非功能需求: QPS: 10million/second Service : API: 1) POST : put(key,value) 2) GET : get( 阅读全文
posted @ 2021-08-17 09:32 xiaoyongyong 阅读(64) 评论(0) 推荐(0)
摘要: 1.why do we consist hashing? problem: if we just use the normal hashing, for example, firstly we have 3 nodes in our db system, all the hashcode%3==0 阅读全文
posted @ 2021-08-17 08:40 xiaoyongyong 阅读(55) 评论(0) 推荐(0)