• 请不要在回答技术问题时复制粘贴 AI 生成的内容
jtjing
V2EX  ›  程序员

一致性 HASH 用户分库/分表 会存在什么问题么?

  •  
  •   jtjing · May 19, 2020 · 2347 views
    This topic created in 2202 days ago, the information mentioned may be changed or developed.

    目前我们分表都是简单的 hash,没有使用过一致性 hash,想知道会有什么坑么?使用一致性 hash 分表?

    1 replies    2020-05-19 15:19:49 +08:00
    wangyanrui
        1
    wangyanrui  
       May 19, 2020
    MySQL 举例,一致性 hash 只能在应用层做,普通 hash 可以直接在数据库层面

    另外一致性 hash 就是一种特殊处理,更加均匀分散 的普通 hash 啊,能有啥区别。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2729 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 12:54 · PVG 20:54 · LAX 05:54 · JFK 08:54
    ♥ Do have faith in what you're doing.