jboss tomcat weblogic websphere 性能对比测试
来源:互联网 发布:淘宝兼职怎么做单 编辑:程序博客网 时间:2024/04/27 13:30
发布时间:2006.03.15 14:10 来源:Matrix 作者:yeeyu
测试系统环境: PC机, windows xp sp2CPU:AMD Athlon(tm) 64 Processer 3000+ 1.80GHz 内存:1.00GB 硬盘:7200转 数据库:Mysql 5.0.17数据库引擎:InnoDB, max connection:2000测试工具:microsoft web application stress tool 1.1测试模拟环境:200 users, 20 stress multiper(sockets per thread), 60 seconds
测试代码说明:
因小弟用pc测试,程序和数据库都较为简单,
mysql的表结构:
CREATE TABLE tt ( id text;);
用来测试的jsp程序:
<% String url="jdbc:mysql://localhost/test?user=root&password=mysql"; Class.forName("com.mysql.jdbc.Driver").newInstance(); Connection connection=DriverManager.getConnection(url); Statement statement = connection.createStatement(); String sql="SELECT * FROM tt"; int dd = statement.executeUpdate("insert into tt values(’you are my angel’)"); out.println("insert::::" + dd + "<br>"); ResultSet rs = statement.executeQuery(sql); ResultSetMetaData rmeta = rs.getMetaData(); int numColumns=rmeta.getColumnCount(); rs.next(); out.print("result:: " + rs.getString(1)+" "); out.print("<br>"); rs.close(); statement.close(); connection.close(); %>
服务器:weblogic 9.1测试结果:平均每秒钟响应14.71个请求,总共响应882个请求内存占用约:335MBtool reports:
================================================================================================================================================================Report name: 12/30/2005 11:15:36 AM weblogic 250-u 20-threadRun on: 12/30/2005 11:15:36 AMRun length: 00:01:00
Web Application Stress Tool Version:1.1.293.1
Number of test clients: 1
Number of hits: 882Requests per Second: 14.71
Socket Statistics--------------------------------------------------------------------------------Socket Connects: 902Total Bytes Sent (in KB): 240.83Bytes Sent Rate (in KB/s): 4.02Total Bytes Recv (in KB): 209.48Bytes Recv Rate (in KB/s): 3.49
Socket Errors--------------------------------------------------------------------------------Connect: 0Send: 0Recv: 0Timeouts: 0
RDS Results--------------------------------------------------------------------------------Successful Queries: 0
Script Settings================================================================================Server: localhostNumber of threads: 20
Test length: 00:01:00Warmup: 00:00:00Cooldown: 00:00:00
Use Random Delay: No
Follow Redirects: YesMax Redirect Depth: 15
Clients used in test================================================================================localhost
Clients not used in test================================================================================Result CodesCode Description Count ================================================================================200 OK 882
Page SummaryPage Hits TTFB Avg TTLB Avg Auth Query ================================================================================GET /ttg/dbtest.jsp 882 1320.73 1321.09 No No
服务器:JBossAS-4.0.3 SP1测试结果:平均每秒钟响应22.88个请求,总共响应1374个请求内存占用约:165MB
tool reports:================================================================================================================================================================Report name: 12/30/2005 11:10:08 AM jboss 250-u 20-threadRun on: 12/30/2005 11:10:08 AMRun length: 00:01:00
Web Application Stress Tool Version:1.1.293.1
Number of test clients: 1
Number of hits: 1374Requests per Second: 22.88
Socket Statistics--------------------------------------------------------------------------------Socket Connects: 1394Total Bytes Sent (in KB): 378.45Bytes Sent Rate (in KB/s): 6.30Total Bytes Recv (in KB): 440.74Bytes Recv Rate (in KB/s): 7.34
Socket Errors--------------------------------------------------------------------------------Connect: 0Send: 0Recv: 0Timeouts: 0
RDS Results--------------------------------------------------------------------------------Successful Queries: 0
Script Settings================================================================================Server: localhostNumber of threads: 20
Test length: 00:01:00Warmup: 00:00:00Cooldown: 00:00:00
Use Random Delay: No
Follow Redirects: YesMax Redirect Depth: 15
Clients used in test================================================================================localhost
Clients not used in test================================================================================Result CodesCode Description Count ================================================================================200 OK 1374
Page SummaryPage Hits TTFB Avg TTLB Avg Auth Query ================================================================================GET /dbtest.jsp 1374 847.70 847.71 No No
服务器:apache-tomcat-5.5.12测试结果:平均每秒钟响应14.94个请求,总共响应897个请求内存占用约:50MB
tool reports:================================================================================================================================================================Report name: 12/30/2005 11:12:55 AM tomcat 250-u 20-threadRun on: 12/30/2005 11:12:55 AMRun length: 00:01:00
Web Application Stress Tool Version:1.1.293.1
Number of test clients: 1
Number of hits: 897Requests per Second: 14.94
Socket Statistics--------------------------------------------------------------------------------Socket Connects: 917Total Bytes Sent (in KB): 232.34Bytes Sent Rate (in KB/s): 3.87Total Bytes Recv (in KB): 197.93Bytes Recv Rate (in KB/s): 3.30
Socket Errors--------------------------------------------------------------------------------Connect: 0Send: 0Recv: 0Timeouts: 0
RDS Results--------------------------------------------------------------------------------Successful Queries: 0
Script Settings================================================================================Server: localhostNumber of threads: 20
Test length: 00:01:00Warmup: 00:00:00Cooldown: 00:00:00
Use Random Delay: No
Follow Redirects: YesMax Redirect Depth: 15
Clients used in test================================================================================localhost
Clients not used in test================================================================================Result CodesCode Description Count ================================================================================200 OK 897
Page SummaryPage Hits TTFB Avg TTLB Avg Auth Query ================================================================================GET /ttg/dbtest.jsp 897 1305.27 1305.28 No No
服务器:websphere 6.0测试结果:平均每秒钟响应23.04个请求,总共响应1384个请求内存占用约:217MBtool reports:================================================================================================================================================================Report name: 12/30/2005 1:50:31 PM websphere 250-u 20-threadRun on: 12/30/2005 1:50:31 PMRun length: 00:01:00
Web Application Stress Tool Version:1.1.293.1
Number of test clients: 1
Number of hits: 1384Requests per Second: 23.04
Socket Statistics--------------------------------------------------------------------------------Socket Connects: 1403Total Bytes Sent (in KB): 341.65Bytes Sent Rate (in KB/s): 5.69Total Bytes Recv (in KB): 293.80Bytes Recv Rate (in KB/s): 4.89
Socket Errors--------------------------------------------------------------------------------Connect: 0Send: 0Recv: 0Timeouts: 0
RDS Results--------------------------------------------------------------------------------Successful Queries: 0
Script Settings================================================================================Server: localhostNumber of threads: 20
Test length: 00:01:00Warmup: 00:00:00Cooldown: 00:00:00
Use Random Delay: No
Follow Redirects: YesMax Redirect Depth: 15
Clients used in test================================================================================localhost
Clients not used in test================================================================================
Result CodesCode Description Count ================================================================================200 OK 1384
Page SummaryPage Hits TTFB Avg TTLB Avg Auth Query ================================================================================GET /ttg/dbtest.jsp 1384 848.31 848.32 No No
- jboss tomcat weblogic websphere 性能对比测试
- jboss tomcat weblogic websphere 性能对比测试
- jboss tomcat weblogic websphere 性能对比测试 (1)
- jboss tomcat weblogic websphere 性能对比测试 (1)
- jboss tomcat weblogic websphere 性能对比测试 (1)
- Tomcat,Weblogic,WebSphere,JBoss。
- weblogic、tomcat 、jboss、websphere区别
- tomcat jboss weblogic apache websphere IIs
- WebLogic、WebSphere、JBOSS、Tomcat之间的区别
- WebLogic、WebSphere、JBOSS、Tomcat之间的区别
- 浅析Tomcat、JBOSS、WebSphere、WebLogic、Apache
- WebLogic、WebSphere、JBOSS、Tomcat之间的区别
- WebLogic、WebSphere、JBOSS、Tomcat之间的区别
- JMX监控 Tomcat Glassfish JBoss WebLogic WebSphere
- WebLogic Tomcat WebSphere JBOSS 区别1
- WebLogic、WebSphere、JBOSS、Tomcat之间的区别
- WebLogic、WebSphere、JBOSS、Tomcat之间的区别
- 简单总结一下Tomcat, JBoss, WebLogic, Websphere
- 动网bbs8.2登陆框不显示验证码
- EXECL使用VBA执行SQL
- windbg the easy way
- 在Tomcat中使用Yale CAS实现单点登陆(SSO) 文章合集
- 六种异常处理的陋习
- jboss tomcat weblogic websphere 性能对比测试
- Spring Web MVC 入门实例
- 盖茨
- 转(备忘)提高lucene索引速度技巧汇总
- 静态模板页面
- 改进版本的压缩和解压的shell脚本
- jQuery--AJAX传递xml
- 使用JavaScript获取不同时区的时间
- 又一款语义搜索引擎 Evri 浮出水面