Hello all,
We are trying to add a large number of items in cache and running into a number of issues:
What we are seeing is that the performance of put() operations to cache decrease overtime as the number of items increase. The configured size of memory store is much larger than the point at which we start seeing degradation.
Is this a known problem? Are there strategies to overcome this?
Well - several questions
1.
Is this standalone Ehcache or Ehcache with RMI replication or Ehcache with Terracotta Replication.
2.
What is the installation mode - Express or Custom.
3.
What Terracotta Version
4.
What heap/JVM Options on the Client and Terracotta Server JVM
5.
Is there a GC issue.
6.
What is "large" quantitatively?
etc.
It should work fine. If Terracotta Server is a bottleneck (is it still running with a default 512mb heap) then you should stripe it with Terracotta FX and/or tune it.