V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Nicolay
V2EX  ›  Redis

redis 或者 memcache 的 key 长度一致是否有助于 redis 的内存管理。

  •  
  •   Nicolay · 2019-07-21 15:38:34 +08:00 · 11208 次点击
    这是一个创建于 1713 天前的主题,其中的信息可能已经有所发展或是发生改变。
    3 条回复    2019-07-21 18:13:52 +08:00
    lihongjie0209
        1
    lihongjie0209  
       2019-07-21 16:32:24 +08:00
    没见过这种优化角度
    AlphonseElric
        2
    AlphonseElric  
       2019-07-21 17:58:52 +08:00
    问题可以转化为 哈希对象长度对 murmurhash 效率的影响
    opengps
        3
    opengps  
       2019-07-21 18:13:52 +08:00 via Android
    个人觉得会有影响,但是可以忽略不计
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2871 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 13:11 · PVG 21:11 · LAX 06:11 · JFK 09:11
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.