weo*_*tch 5 memcached caching load-balancing magento
我们有2台服务器在负载均衡器后面运行Magento.在管理区域中更改内容时,Magento会提示我们刷新缓存.如果管理员用户连接到www1并运行缓存刷新,我们如何设置它以便www2上的缓存也被刷新?有没有人处理过这个?
我们愿意安装Memcached并将其与Magento一起使用,但从我读到的内容来看,它听起来并没有完全取代文件系统缓存,所以我们仍然需要一个解决方案来解决这个问题.如果这个假设是错误的,请纠正我,因为我想切换到Memcached会解决这个问题.
I would recommend setting up memcached or even varnish (seems to be the new craze) as both would simplify load balanced cache and session sharing issues your experiencing running both servers as file system.
\n\n引用 magebase 文章(注意:这同样适用于缓存):
\n\n\n\n\nMemcached 会话存储比前两个选项需要更多的设置,这可能就是为什么在 Magento 安装期间它\xe2\x80\x99s 不被视为\xe2\x80\x98normal\xe2\x80\x99 选项。对于初学者,您需要运行 Memcached 服务器。
\n\n一旦启动并运行,memcached 会话存储就会提供\n许多好处。首先,它对集群非常友好。 The session\n data can be shared by any number of webnodes, and to make things even\n better you can easily add more memcached server nodes so that even\n your session storage can be scaled to handle many 1000\xe2\x80\xb2s of concurrent\n sessions*. Secondly, it is (or can be) separate of the database and\n web node entirely, which offloads the work of storing sessions from\n busy nodes in a high-traffic environment.
\n
有关为 Magento 选择会话存储的更多详细信息:
\n\nhttp://magebase.com/magento-tutorials/magento-session-storage-which-to-choose-and-why/
\n\n有关设置 Varnish 以与 Magento 配合使用的更多详细信息:
\n\n\n| 归档时间: |
|
| 查看次数: |
4466 次 |
| 最近记录: |