nginx fastcgi vs apache_handler vs apache_handler+apc vs asp.net mvc2
来源:互联网 发布:js字符串html转义 编辑:程序博客网 时间:2024/06/16 14:04
今天做了一个php速度的BenchMark,对比一下nginx fastcgi vs apache_handler vs apache_handler+apc的区别:
一、linux环境为CentOS 5.7,windows环境为win2008 R2 asp.net mvc2
二、被测试程序为smarty3.1的精简demo页,只有一个assign
为了反映php速度,smarty关闭了调试和缓存
$smarty->debugging = false;$smarty->caching = false;
三、并发虚拟用户都是10
四、网络环境相同、硬件配置相同
可以看到,在linux环境中,apache_handler+apc速度最快,资源占用最低,nginx fastcgi最差,并且nginx fastcgi偶尔还有失败的事务。Asp.net mvc2性能也不错。这个结果只是反映某一方面,没有进行优化,都是默认安装,仅供参考。
作者:敖士伟 ikmb@163.com
- nginx fastcgi vs apache_handler vs apache_handler+apc vs asp.net mvc2
- asp vs asp.net
- asp.net vs使用
- PB VS ASP.NET
- PHP VS ASP.NET
- vs asp.net webservice
- ASP.Net vs PHP
- 传统WINFORM VS 智能客户端 VS Asp.net Vs Ajax
- asp.net ajax Vs jsf
- ASP.NET MVC vs webform
- asp.net Cache vs memcached
- asp.net Cache vs memcached
- Asp.Net WebForm vs MVC
- Apache Handle vs CGI vs FastCGI
- > VS >
- VS
- vs
- vs
- 关于ssh整合中hibernate持久层的问题
- Linux下patch的制作和应用
- php执行URL解析
- 阿猫的实验
- 下拉框三级联动
- nginx fastcgi vs apache_handler vs apache_handler+apc vs asp.net mvc2
- set(集)、list(列表)、map(映射)和Queue(队列)
- C# ArrayList的用法
- Qt、OpenGL4.0 程序基本架构。
- LSI PCIE企业应用
- 一些经典的计算机书籍
- c的实际运用问题 && c与c++
- div层,实现模式窗口/模态窗口/模式对话框
- ajax