多个内存缓存实例的好处 [英] Benefits of multiple memcached instances

查看:131
本文介绍了多个内存缓存实例的好处的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行4个.5GB内存缓存服务器或1个2GB实例之间有什么区别吗?

Is there any difference between having 4 .5GB memcache servers running or one 2GB instance?

运行多个实例是否有好处?

Does running multiple instances offer any benifits?

推荐答案

如果一个实例失败,您仍然可以获得使用缓存的优势.如果您使用的是Consistenthashing,它将把相同的数据带到同一实例,而不是在仍然运行的计算机之间分配新的读/写,则尤其如此.

If one instance fails, you're still get advantages of using the cache. This is especially true if you are using the Consistenthashing that will bring the same data to the same instance, rather than spreading new reads/writes among the machines that are still up.

您还可以选择在32位操作系统上运行服务器,这些服务器不能处理超过3GB的内存.

You may also elect to run servers on 32 bit operating systems, that cannot address more than around 3GB of memory.

检查常见问题解答: http://www.socialtext.net/memcached/ http://www.danga.com/memcached/

Check the FAQ: http://www.socialtext.net/memcached/ and http://www.danga.com/memcached/

这篇关于多个内存缓存实例的好处的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆