Drupal 7 比 Drupal 6 慢吗? [英] Is Drupal 7 slower than Drupal 6?

查看:28
本文介绍了Drupal 7 比 Drupal 6 慢吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Drupal 的一个普遍问题是它很慢.我们在一个高流量的生产环境中运行 Pressflow 6,它消耗了大量资源用于其规模的站点.

One of the problems with Drupal in general is that it is slow. We run Pressflow 6 in a high traffic production environment and it consumes a lot of resources for a site of its size.

关于 Drupal 7 是否比 Drupal 6 慢已经有很多研究:http://drupal.org/node/615822

Much has been made of whether Drupal 7 is slower than Drupal 6: http://drupal.org/node/615822

看来这确实如此,但有人可以确认吗?

It appears that this is indeed the case, but can anybody confirm?

非常感谢,克里斯.

推荐答案

是的.我可以确认.不过.

Yes. I can confirm. However.

首先是坏消息:

  • Drupal7 核心更复杂.复杂性会降低性能.
  • Drupal7 核心更大:功能更多,核心更多.更多等于更慢.

然后是理论:

  • 在 Drupal6 中,大约95% 的项目包括 CCK.称之为 Drupal+.Drupal7 带有开箱即用的 CCK.Drupal6+ 比 Drupal7.
  • Drupal7 提供了许多企业级的性能调优功能.Memcached、(Varnished)代理支持、数据库平衡(主/从等).Drupal6 做不到的事情.

然而,Drupal6 pressflow 内置了这些企业级的东西(实际上:这些印刷流程功能使其成为核心,为 Drupal7 提供基础).

However, Drupal6 pressflow had these enterprise-ish things build in (in fact: these pressflow features made it into core, offering the basis for Drupal7).

Drupal7 比 Pressflow Drupal6 慢.Drupal7 提供了 Drupal6 没有提供但 PressflowDrupal6 提供的性能功能.

Drupal7 is slower then Pressflow Drupal6. Drupal7 offers performance features that Drupal6 did not offer, but that PressflowDrupal6 did offer.

许多项目还启用了视图模块.Drupal7 中的 Views3 比 Drupal6 的 Views2 提供了很多性能改进(企业级功能).

Many projects also have views module enabled. Views3 in Drupal7 offer a lot of performance improvements (enterprise-ish features) over Views2 for Drupal6.

我的建议:直到有一个性能优化的 Drupal7(例如 Pressflow Drupal7) 只用你的 Pressflow Drupal 6.它在理论和实践上都快得多.如果您可以从 Views3 的改进和功能中受益,那么请选择 Drupal7+views3,这将为您提供更多选项来调整性能问题.

My advice: untill there is a performance-optimised Drupal7 (Pressflow Drupal7, for example) Just stay with your Pressflow Drupal 6. It is in both theory and practice a lot faster. If you can benefit from the Views3 improvements and features, then go for Drupal7+views3, that will give you more options to tune performanceissues.

这篇关于Drupal 7 比 Drupal 6 慢吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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