nginx与lighttpd性能简单对比
hw.model: Intel(R) Xeon(R) CPU 5130 @ 2.00GHz
2x2颗
内存4G
#uname -a
FreeBSD localhost.localdomain 8.2-RELEASE
This is ApacheBench, Version 1.3d <$Revision: 1.73 $> apache-1.3
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking 192.168.100.28 (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Finished 100000 requests
Server Software: nginx/1.0.0
Server Hostname: 192.168.100.28
Server Port: 80
Document Path: /info.php
Document Length: 49457 bytes
Concurrency Level: 1000
Time taken for tests: 86.578 seconds
Complete requests: 100000
Failed requests: 0
Broken pipe errors: 0
Total transferred: 4977355920 bytes
HTML transferred: 4961202790 bytes
Requests per second: 1155.03 [#/sec] (mean)
Time per request: 865.78 [ms] (mean)
Time per request: 0.87 [ms] (mean, across all concurrent requests)
Transfer rate: 57489.84 [Kbytes/sec] received
Connnection Times (ms)
min mean[+/-sd] median max
Connect: 0 297 888.8 11 6414
Processing: 20 555 649.9 421 9989
Waiting: 18 555 649.9 421 9988
Total: 20 852 1065.3 473 10222
Percentage of the requests served within a certain time (ms)
50% 473
66% 584
75% 699
80% 776
90% 3308
95% 3473
98% 3688
99% 3817
100% 10222 (last request)
磁盘压力只在测试开始时大,并且因为所有东西都放在一台服务器,瞬间最高把CPU空闲率干到了0.3%,但实际上占用CPU最多的是ab,占了40%多,nginx占用不到40%
This is ApacheBench, Version 1.3d <$Revision: 1.73 $> apache-1.3
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking 192.168.100.28 (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Finished 100000 requests
Server Software: lighttpd/1.4.28
Server Hostname: 192.168.100.28
Server Port: 80
Document Path: /info.php
Document Length: 49127 bytes
Concurrency Level: 1000
Time taken for tests: 83.107 seconds
Complete requests: 100000
Failed requests: 0
Broken pipe errors: 0
Total transferred: 4932575365 bytes
HTML transferred: 4915304142 bytes
Requests per second: 1203.27 [#/sec] (mean)
Time per request: 831.07 [ms] (mean)
Time per request: 0.83 [ms] (mean, across all concurrent requests)
Transfer rate: 59352.10 [Kbytes/sec] received
Connnection Times (ms)
min mean[+/-sd] median max
Connect: 0 19 206.2 1 3113
Processing: 79 807 155.8 823 3891
Waiting: 66 807 155.8 823 3890
Total: 79 826 251.0 826 4248
Percentage of the requests served within a certain time (ms)
50% 826
66% 843
75% 854
80% 862
90% 894
95% 939
98% 1006
99% 1094
100% 4248 (last request)
转载于:https://blog.51cto.com/slaytanic/554880
nginx与lighttpd性能简单对比相关推荐
- java.io和java.nio性能简单对比
我从java1.3开始学习java,后来主要用1.4,再后来1.5和1.6中的很多新特性,都停留在"知道"的状态,比如nio,虽然据说可以提升性能,但并没有真正深入使用和测试过,工 ...
- 飞腾PC机器与奔腾G645的PC机器以及E5-2630V4虚拟机内存性能简单对比
1. 对比工具 sysbench 2. 对比命令 sysbench --test=memory --memory-total-size=12G --num-threads=8 run 3 安装方式 # ...
- apache,ngnix,lighttpd性能对比
1. web服务器简介 1. lighttpd Lighttpd是一个德国人领导的开源软件,其根本的目的是提供一个专门针对高性能网站,安全.快速.兼容性好并且灵活的Web server环境 Light ...
- 不同CPU的MATLAB性能表现的简单对比方法
MATLAB性能表现 小结:程序不同,无法一概而论.可以分为两部分:1.多线程,2.浮点数.[好像说了一堆众所周知的废话] 参考网址 https://www.mathworks.com/support ...
- 不同cpu matlab,不同CPU的MATLAB性能表现的简单对比方法
MATLAB性能表现 小结:程序不同,无法一概而论.可以分为两部分:1.多线程,2.浮点数.[好像说了一堆众所周知的废话] 参考网址 https://www.mathworks.com/support ...
- nginx哪个版本性能好_R7 3700X和i7 9700KF哪个好?i79700KF和R73700X性能对比评测
R7-3700X是AMD在2019年7月7日带来的第三代全新Zen2架构的7纳米高端处理器,受到广大装机用户性价比认可,用来抗衡intel酷睿i7-9700KF,而往往装机用户会在这两者不知道如何选择 ...
- 基于 Nginx 的 HTTPS 性能优化实践
前言 分享一个卓见云的较多客户遇到HTTPS优化案例. 随着相关浏览器对HTTP协议的"不安全".红色页面警告等严格措施的出台,以及向 iOS 应用的 ATS 要求和微信.支付宝小 ...
- 基于 Nginx 的 HTTPS 性能优化
前言 分享一个卓见云的较多客户遇到HTTPS优化案例. 随着相关浏览器对HTTP协议的"不安全".红色页面警告等严格措施的出台,以及向 iOS 应用的 ATS 要求和微信.支付宝小 ...
- 负载均衡器技术Nginx和F5的优缺点对比
负载均衡器技术Nginx和F5的优缺点对比 博客分类: 应用服务 F5nginx 对于数据流量过大的网络中,往往单一设备无法承担,需要多台设备进行数据分流,而负载均衡器就是用来将数据分流到多台设备的 ...
最新文章
- 如何提高软件可维护性
- BZOJ 2039: [2009国家集训队]employ人员雇佣
- 数据库面试题【十、【非关系型数据库】和【关系型数据库】的【区别】与【优势比较】】
- js+ asp.Net ajax开发163邮箱效果(列表底色、多选拖动等)--checkBox多选
- UC浏览器云标签怎么用 UC浏览器云标签使用方法
- java date 一个月_java中的日期加一个月的计算
- 这两天有点热吆,star直线上涨!~Jeecg Boot
- faststart可以卸载吗_你的手机你做主!免 ROOT 卸载安卓手机预装APP
- systemctl的使用
- 33. vmstat
- YII2中behavior行为的理解与使用
- Matlab R2016a安装教程
- Windows 手动与脚本自动重启Print Spooler打印服务
- linux device 与driver prove 过程
- Nginx模块开发系列1--预备知识
- 耳机串音问题解决(crosstalk)
- oracle计算日期倒计时,时间倒算回去到了哪里?│机械倒数计时码表
- ps制作台式计算机图标,图标制作,用PS制作计算机应用的图标
- 使用python和xlwings合并excel文件
- 图像处理--特征匹配
热门文章
- ES10新特性_Object.fromEntries---JavaScript_ECMAScript_ES6-ES11新特性工作笔记057
- K8S_Google工作笔记0011---通过二进制方式_为APIServer生成自签证书
- SpringCloud学习笔记029---在SpringCloud项目中使用Zuul实现基本的网关统一处理
- System学习笔记004---Windows系统中hosts文件的作用_Zookeeper在SpringBoot中报错需要配置一下这个文件
- Android异常总结---ActivityManager: Warning: Activity not started,its current task has been brought to th
- 在vivado hls软件上打开zynqnet工程,Vivado HLS Command Prompt(Vivado HLS 命令提示符)是什么
- win32开发(自定义消息)
- android 获取linux线程状态,Android 的进程与线程总结
- 51单片机入门教程(5)——定时器中断
- java.util.list e_E remove()