[
https://issues.jboss.org/browse/ISPN-1047?page=com.atlassian.jira.plugin....
]
Tom Waterhouse commented on ISPN-1047:
--------------------------------------
The two tests that best illustrate the issue are TXCacheTest.testWithManyBatches() and
TXCacheTest.testWithOneBatch(). Both do the exact same operations, but
testWithManyBatches() does the cache operations in 50 1k batches, while testWithOneBatch()
does 1 50k batch.
Cache performance slow in a JTA transaction with many cache
operations
----------------------------------------------------------------------
Key: ISPN-1047
URL:
https://issues.jboss.org/browse/ISPN-1047
Project: Infinispan
Issue Type: Bug
Affects Versions: 4.2.1.FINAL
Environment: Infinispan 4.2.1.FINAL/Hibernate 3.6.1.Final/Spring 3.0.5/JBossJTA
4.14.0
Reporter: Tom Waterhouse
Assignee: Manik Surtani
When running Infinispan in a JTA transaction the performance of cache operations
decreases as the number of operations increases in the transaction. If adding to the
cache, adding 50k items is much faster when done 1k items per transaction than all 50k in
one transaction.
Using JProfiler the bulk of the time was spent in LockingInterceptor.doAfterCall() for
the all 50k in one transaction test.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira