neutron server API slows now and then
2014-04-28 14:48
471 查看
for x in {1..25}; do curl -i 'http://l7.0.lg.ustack.in:9696/v2.0/networks.json' -X GET -H "X-Auth-Token: 347e2a0caca040e287b6220663def507" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient" -w "%{time_total}
" -o test.txt -s; done
If the time is varying a lot, we should pay attention to the neutron server's cpu consumption. If so, configure the api_workers configuration item.
another way to test the API is to
ab -c 2 -n 100 -H "X-Auth-Token: 347e2a0caca040e287b6220663def507" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient" http://l7.0.lg.ustack.in:9696/v2.0/networks.json
" -o test.txt -s; done
If the time is varying a lot, we should pay attention to the neutron server's cpu consumption. If so, configure the api_workers configuration item.
another way to test the API is to
ab -c 2 -n 100 -H "X-Auth-Token: 347e2a0caca040e287b6220663def507" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient" http://l7.0.lg.ustack.in:9696/v2.0/networks.json
相关文章推荐
- SQL Server:Trace and Replay Objects: A New API for SQL Server Tracing and Replay
- and then set HOMEBREW_GITHUB_API_TOKEN.
- MySQL Audit Plugin now available in Percona Server 5.5 and 5.6
- and then set HOMEBREW_GITHUB_API_TOKEN.
- Server response (410): Gone (This API has been deprecated and removed from legacy PyPI解决方法
- Neutron-server初始化 — Api服务初始化
- service structure flowchart [mobile to server via HTTP RESTful API and TCP/IP in a map]
- LInux Then And Now
- Issue 71 - pymssql - Undefined symbols on Mac, CentOS, Redhat with pre-compiled build - A fast MS SQL Server client library for Python directly using C API instead of ODBC. It is Python DB-API 2.0 compliant. Works on Linux, *BSD, Solaris, Mac OS X and Win
- SQL Server:Trace and Replay Objects: A New API for SQL Server Tracing and Replay
- git repo sync 报错error: hebei_server/: branch master is published (but not merged) and is now 1 comm
- FlickrOnMap - A Silverlight Application Developed by Flickr Web API and ArcGIS Server API for Silverlight
- ArcGIS.Server.9.3和ArcGIS API for JavaScript保存自定义图形(十)
- How To Turn Up Logging on the Siebel Web Server Extension in Siebel Versions 7.x and 8.x? [ID 477185
- ArcGISServer Silverlight/WPF API 发布
- 【原创】k8s源码分析------kube-apiserver分析(3)
- POJ 3517 And Then There Was One(约瑟夫环)
- windows核心编程学习笔记(七)DLL Injection and API Hooking
- C# pdf 缩放纸型-iTextSharp - read an existing pdf, resize it and then draw it on a new one
- 简单 mina chat server and as client