We have ported all our code from iBatis to myBatis. Also, upgraded all
myBatis dependency libraries.
Upgraded:
* commons-dbcp2-2.7.0.jar
* commons-pool2-2.8.0.jar
*postgresql-42.2.10.jar
upgrade from ibatis-2.3.4.726 to:
*mybatis-3.5.4.jar and mybatis-spring-1.3.3.jar
Note: Using Spring 3.2.x
We are seeing the following performance degradation during our load testing.
Application server - Linux/Apache tomcat web server,
Database server - Linux/PostgreSQL
*With iBatis load testing: Application server CPU utilization at 45% and DB
Server CPU utilization at 85%.
Throughput - 2440 request per minute
*With myBatis load testing: Application server CPU utilization at 70% and DB
Server CPU utilization at 45%.
Throughput - 1697 request per minute, almost 30% performance reduction
compare to iBatis.
The DB Server CPU utilization goes lower and throughput also goes lower, but
app server CPU utilization goes slightly higher during my load testing.
1. Any ideas?Why the behavior is totally changed? I am unable to find the
reason.
2. Adding another application server into the mix will help to get better
throughput? I mean close to iBatis. I am planning to verify this within week
or two.
Thanks,
-Malli
--
Sent from:
http://mybatis-user.963551.n3.nabble.com/