SpringBeanTransactionManager#doCommit is slow
During performance tests with 200 concurrent requests, it is observed that doCommit() method takes longer time(21000ms) to commit simple Insert statements. Am I missing any configurations?
Also it is observed through profilers that actual queries in the transactions are not taking much time(<150 ms) but the method (doCommit) itself is consuming 95% of the total time.
This issue is not there with smaller numbers(till 100 concurrent requests).
some details about the app- hibernate 4.1,Spring 3.1, MySQL 5.2.
any help/pointers is appreciated.
Thanks