Using multiple memcache servers in a pool

后端 未结 1 1090
庸人自扰
庸人自扰 2021-01-02 21:23

I\'m going through the documentation and I\'m a little confused as to how memcache does internal load-balancing if multiple servers are specified. For example:



        
1条回答
  •  被撕碎了的回忆
    2021-01-02 21:58

    memcached places keys on servers based on a hash of the key. As long as your server setup doesn't change, then a given key will always land on a given server.

    0 讨论(0)
提交回复
热议问题