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

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

问题描述

一般来说,Drupal的一个问题是缓慢。我们在高流量生产环境中运行Pressflow 6,并为其大小的网站消耗大量资源。



很多人是否Drupal 7是否比Drupal 6:
http://drupal.org/node/615822



事实上,这个,但是有人可以确认吗?



非常感谢,
Chris。

解决方案

是的。我可以确认



首先是坏消息:




  • Drupal7内核更复杂。复杂性降低成本。

  • Drupal7内核更大:功能更多,核心更多。 更多等于较慢



然后理论:




  • Drupal6,约95%的项目包括CCK。叫Drupal +。 Drupal7自带CCK开箱即用。 Drupal6 +是然后Drupal7。

  • Drupal7为性能调优提供了很多企业能力。 Memcached,(Varnished)代理支持,数据库平衡(主/从等)。 Drupal6不能做的。



但是, Drupal6 pressflow有这些企业级的东西构建了(其实这些新闻流功能使其成为核心,为Drupal7提供了基础)。



Drupal7比Pressflow Drupal6更慢。 Drupal7提供了Drupal6没有提供的性能特征,但是PressflowDrupal6提供了。



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



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


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.

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?

Many thanks, Chris.

解决方案

Yes. I can confirm. However.

First the bad news:

  • Drupal7 core is more complex. Complexity costs performance.
  • Drupal7 core is bigger: more features, more in core. more equals slower.

Then the theory:

  • In Drupal6, approx. 95% of the projects included CCK. Call that Drupal+. Drupal7 comes with CCK out of the box. Drupal6+ is slower then Drupal7.
  • Drupal7 offers a lot of enterpris-ish abilities for performance tuning. Memcached, (Varnished)Proxy support, Database balancing (master/slave etc). Something that Drupal6 could not do.

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 is slower then Pressflow Drupal6. Drupal7 offers performance features that Drupal6 did not offer, but that PressflowDrupal6 did offer.

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

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天全站免登陆