search

Home  >  Q&A  >  body text

redis中使用hash类型。hash内部k-v数量多少合适

hash内的数量不能太多吧,太多的话对hash操作加减等操作肯定会有性能影响。那么多少个合适?另外求推荐关于redis的文章。谢谢各位!

怪我咯怪我咯2798 days ago833

reply all(1)I'll reply

  • 黄舟

    黄舟2017-04-22 09:01:20

    1. The first thing is what do you plan to save?
    2. Redis should be used as a cache, mainly for those frequently accessed things, commonly known as hot data
    3. Tell me about your scene. .

    reply
    0
  • Cancelreply