centos 7上nginx+uwsgi 性能调优
来源:互联网 发布:spss调查问卷数据录入 编辑:程序博客网 时间:2024/04/30 16:39
ab -r -n 100000 -c 100 -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: 65e194" http://keystonehost:35357/v2.0/
ab -r -n 100000 -c 200 -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: 65e194" http://keystonehost:35357/v2.0/
user nginx;worker_processes xx; #可以设置成cpu个数,体验较佳的性能error_log /var/log/nginx/error.log;pid /var/run/nginx.pid;worker_rlimit_nofile 65535; # 最大打开文件数,这个值需要<= worker_connectionsevents { worker_connections 65535; # 最大连接数,这个值依赖系统的配置。}
net.core.somaxconn = 2048 #定义了系统中每一个端口最大的监听队列的长度,这是个全局的参数。默认是128.优化可以根据系统配置做优化
workers = 24 # 并发处理进程数 listen = 65535 # 并发的socket 连接数。默认为100。优化需要根据系统配置
ab -r -n 100000 -c 10000 -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: 65e194" http://keystonehost:35357/v2.0/
Server Software: nginx/1.8.1Server Hostname: keystonehostServer Port: 35357Document Path: /v2/Document Length: 450 bytesConcurrency Level: 15000Time taken for tests: 30.136 secondsComplete requests: 100000Failed requests: 0Write errors: 0Total transferred: 72900000 bytesHTML transferred: 45000000 bytesTime per request: 4520.417 [ms] (mean)Transfer rate: 2362.33 [Kbytes/sec] received
Server Software:Server Hostname: keystonehostServer Port: 35357Document Path: /v2/Document Length: 450 bytesConcurrency Level: 10000Time taken for tests: 100.005 secondsComplete requests: 100000Failed requests: 0Write errors: 0Total transferred: 70800000 bytesHTML transferred: 45000000 bytesTime per request: 10000.507 [ms] (mean)Transfer rate: 691.37 [Kbytes/sec] received
0 0
- centos 7上nginx+uwsgi 性能调优
- centos 7上nginx+uwsgi 性能调优
- centos 7上nginx+uwsgi 性能调优
- centos 7 nginx+uwsgi+flask 环境搭建
- Centos+nginx+uwsgi+django
- 基于nginx和uWSGI在centos上部署Django
- centos上配置uwsgi
- CentOS下nginx+uwsgi+django
- centos 部署nginx + python3 +uwsgi
- Nginx+uWSGI+Django Centos 部署
- CentOS 7 下使用Uwsgi及nginx搭建Django站点
- CentOS 6.3下Nginx性能调优
- uwsgi性能调忧
- CentOS nginx django uwsgi mysql 部署项目
- centos+flask+uwsgi+nginx+supervisor部署小结
- centos+nginx+uwsgi+Python3+flask操作步骤
- centos 下 安装python,django,uwsgi,nginx
- VPS上配置NGINX+UWSGI+DJANGO+MYSQL
- 1104. Sum of Number Segments (20)-数学问题
- linux中php的redis扩展安装
- html css层叠样式基础(内联元素和块元素)(二)
- const类对象和const成员函数的用法及编程技巧
- ueditor常见用法
- centos 7上nginx+uwsgi 性能调优
- poj 3186
- 文件上传 - JAVA原生
- 构造方法类的反射机制
- MySQL日期和时间处理函数应用总结
- [BZOJ3144][Hnoi2013]切糕(最小割)
- android 开发零起步学习笔记(二十八):15 个 Android 通用流行框架大全
- 【JAVA】struts的property用法
- 【BZOJ 2186】[Sdoi2008]沙拉公主的困惑 欧拉函数