2006-11-11
grails0.22压力测试
grails0.3终于发布了,不过好像改了很多东西,正在看文档.
grails0.22的压力测试报告
CPU: Pentium 2.66G D
OS:WindowsXP
JDK:1.5.0_07-b03
AppServer: Tomcat 5.5
DB:Mysql 5.0.22
可能服务器只买一台,所以测试的时候数据库服务器和web服务器放一起的
request per second 大约是16, 客户端开100个线程.
每个页面的sql大约是10-20,数据库的数据少量,全部采用分页.
tomcat的thread大约是100,最大内存是500M,机器内存是512M,运行时候内存稳定在670M左右.
CPU占用率是100%[这个没办法,数据库和web服务器放一起],每个页面完成时间大约是2-5s.
grails0.22的压力测试报告
CPU: Pentium 2.66G D
OS:WindowsXP
JDK:1.5.0_07-b03
AppServer: Tomcat 5.5
DB:Mysql 5.0.22
可能服务器只买一台,所以测试的时候数据库服务器和web服务器放一起的
request per second 大约是16, 客户端开100个线程.
每个页面的sql大约是10-20,数据库的数据少量,全部采用分页.
tomcat的thread大约是100,最大内存是500M,机器内存是512M,运行时候内存稳定在670M左右.
CPU占用率是100%[这个没办法,数据库和web服务器放一起],每个页面完成时间大约是2-5s.
Web Application Stress Tool Version:1.1.293.1 Number of test clients: 1 Number of hits: 5126 Requests per Second: 17.09 Socket Statistics -------------------------------------------------------------------------------- Socket Connects: 7097 Total Bytes Sent (in KB): 1790.19 Bytes Sent Rate (in KB/s): 5.97 Total Bytes Recv (in KB): 71989.15 Bytes Recv Rate (in KB/s): 239.96 Socket Errors -------------------------------------------------------------------------------- Connect: 0 Send: 0 Recv: 0 Timeouts: 0 RDS Results -------------------------------------------------------------------------------- Successful Queries: 0 Script Settings ================================================================================ Server: server Number of threads: 100 Test length: 00:05:00 Warmup: 00:00:00 Cooldown: 00:00:00 Use Random Delay: Yes Min Delay Time: 0 Max Delay Time: 3000 Follow Redirects: Yes Max Redirect Depth: 30 Clients used in test ================================================================================ localhost Clients not used in test ================================================================================ Result Codes Code Description Count ================================================================================ 200 OK 5126 Page Summary Page Hits TTFB Avg TTLB Avg Auth Query ================================================================================ GET /rw/base/loginAll 369 2452.69 2452.69 No No GET /rw/information/home 365 5123.72 5154.94 No No GET /rw/information/showCat/1 351 3133.90 6419.70 No No GET /rw/information/showCat/2 339 2882.94 6218.54 No No GET /rw/information/showCat/3 328 3134.97 7031.73 No No GET /rw/information/showCat/8 324 3045.27 3045.63 No No GET /rw/information/showCat/9 320 3213.80 3214.14 No No GET /rw/information/showCat/10 318 3265.87 3266.26 No No GET /rw/userResume/handlePerso 312 5540.86 5580.46 No No GET /rw/userResume/showUserRes 308 4479.56 4494.86 No No GET /rw/userResume/searchWantA 300 3983.56 3988.89 No No GET /rw/companyUser/home 298 173.18 3488.33 No No GET /rw/insideJobUser/home 291 126.57 3712.41 No No GET /rw/cooperativeUser/home 286 71.25 3732.51 No No GET /rw/information/showCat/6 311 3055.65 3061.80 No No GET /rw/information/showCat/7 306 2919.74 2920.11 No No
发表评论
- 浏览: 11593 次

- 详细资料
搜索本博客
最近加入圈子
链接
最新评论
-
GORM翻译
well done!我是搜索grails+ajax找到你的网站的,目前关注gra ...
-- by flyisland -
grails的命名策略和数据库 ...
谢谢!这篇文章解决了我的问题~支持,加油~期待更多精彩文章不知道有没有具体实例代 ...
-- by stiffler






评论排行榜