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

查看:22
本文介绍了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,(清漆)代理支持,数据库平衡(主/从等).Drupal6 无法做到的事情.

然而,Drupal6 pressflow 内置了这些企业级的东西(事实上:这些 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天全站免登陆