MongoDB, HandlerSocket and MySQL performance test

MongoDB, HandlerSocket and MySQL performance test

1. Test environment 1. Test server status A total of 4 test servers are involved: Stress test server Web server MongoDB server MySQL server. The machine configuration is: CPU: Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz RAM: 8G DDR2 667 Disk: SATA Operating system: Redhat 5.5 1. Stress test server Install Webbench 1.5, and press the Web server through Webbench. 2. Web server Nginx 0.8.54 + PHP 5.3.3 (php-fpm), the php driver with Mongodb and HandlerSocket installed. The php driver of Mongodb is: mongodb-mongo-php-driver-1.1.1-19-gc584231.tar.gz The php driver of HandlerSocket is: php-handlersocket-0.0.7.tar.gz Call Mongodb and HandlerSocket through Php program. 3. MongoDB server MongoDB version: 1.6.5 4. MySQL server MySQL version: 5.1.53 HandlerSocket version: 1.0.6-60-gf51e061 MySQL storage engine: Innodb, adjust the Thread Pool Size of innodb to 2G 2. Test program and test data extraction 1. In order to avoid opening the connection and the Http server becoming a bottleneck, in the test program, it is set to share the same connection for every 1000 requests, and at the same time, it is set to execute 1000 data requests for each page request. 2. Test data, including QPS, CPU, IO, etc., from commands provided by the operating system (such as vmstat, iostat,…

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索