Is Quercus (Java) faster than native PHP?

本秂侑毒 提交于 2019-12-22 06:44:50

问题


If so, why? (Or maybe the better question is 'when'?)

I've found some scattered comments, such as in this post, which seem to indicate that Quercus may actually offer some performance advantages over native PHP.

I am looking to use a Tomcat/Quercus configuration instead of an Apache/PHP one. (I need a Java servlet container and the alternative would be to use context filtering in Apache.)


回答1:


From their page:

Performance: Quercus outperforms a straight mod_php implementation by about 4x (for Mediawiki and Drupal). Quercus roughly matches PHP performance with accelerators like APC.

So if they claim they "match" PHP's performance with APC, then it's probably slightly slower.



来源:https://stackoverflow.com/questions/3692981/is-quercus-java-faster-than-native-php

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!