lundi 21 avril 2014

EHCache Retrieval slow during heavy load


Vote count:

0




We are trying to improve the performance of our system and thought Cache will help us. We used EHCache 2.4 and tried load testing. We started with just 2 elements in memory and ran the test which retrieves the same element concurrently. The cache retrieval time in some cases where more than 200-300 ms. The cache configuration we have is



<cache name="TEST_CACHE" maxElementsInMemory="5000" eternal="false"
diskExpiryThreadIntervalSeconds="3600" memoryStoreEvictionPolicy="LFU"
timeToIdleSeconds="86400" timeToLiveSeconds="86400">

</cache>


Are we missing anything? Is this the expected?



asked 56 secs ago






Aucun commentaire:

Enregistrer un commentaire