问题描述
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:
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?
非常感谢,
Chris。
Many thanks,Chris.
推荐答案
是的。我可以确认。
首先是坏消息:
- Drupal7核心更复杂。复杂性降低性能。
- Drupal7核心更大:更多功能,更多在核心。 更多等于更慢。
- Drupal7 core is more complex. Complexity costs performance.
- Drupal7 core is bigger: more features, more in core. more equals slower.
然后理论:
- Drupal6,约。 95%的项目包括CCK。调用Drupal +。 Drupal7自带的CCK开箱即用。 Drupal6 + 慢然后Drupal7。
- Drupal7提供了许多企业级性能调整的能力。 Memcached,(Varnished)代理支持,数据库平衡(主/从等)。 Drupal6不能做的事情。
- 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.
但是,。 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,这将给你更多的选择来调整performanceissues。
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慢吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!