drupal 最好的缓存器是什么(Boost、xcache 或 varnish)?
考虑到登录用户和匿名用户,Drupal 的最佳缓存方法(缓存器)是什么?是 Boost、XCache 还是 Varnish?我需要对它们进行比较。
What is the best caching method (cacher) for Drupal, taking in consideration logged in and anonymous users? is it Boost, XCache,or Varnish? I need a comparison between them.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Varnish是输出缓存,将超过50%的查询保存到Mysql服务器。如果您遇到后端故障,它还允许一段宽限期来提供过期的缓存对象
xCache 它会即时缓存您的 PHP 代码,从而在下次运行相同代码时透明地节省编译时间。它用于操作码缓存+存储数据存储
Boost 为 Drupal 提供静态页面缓存,为主要接收匿名流量的网站提供非常显着的性能和可扩展性提升
Varnish is output cache and saves more than 50% queries to Mysql server. also it allows for a grace period to serve expired cache objects if you experience failure of your back-end
xCache it caches your PHP code on-the-fly transparently saving on compile time next time the same code is run. it is used for Opcode cache + storing Datastore
Boost provides static page caching for Drupal enabling a very significant performance and scalability boost for sites that receive mostly anonymous traffic
Varnish 作为前端服务器非常好——在代理服务器下运行 Drupal 站点。 Varnish 不应该在 boost 下运行。
Memcache 还应该用来减少对 mysql 的大量查询。
Varnish is super good as frontend server -- running Drupal site under proxy server. Varnish should not run with boost.
Memcache should also used to reduce alot of query to mysql.