Open cruftex opened 2 years ago
We're aware that there is a performance issue here- and there is nothing specifically wrong with your configuration. It's not likely however that this is going to see developer time in the next few days. Lets leave this open to track any future work in this area in relation to your benchmarking suite. I'll drop updates here if/when I (or anyone else) make progress in this area.
I recently started benchmarking caches again and it seems that eviction performance of EHCache3 is several orders of magnitude worse than Caffeine and cache2k. See this drastic example:
The benchmarks inserts an increasing sequence of keys. The keys range from 0 to 8M with a cache capacity set to 4M. So after inserting 4M, the cache has to start eviction. More details can be found in the latest cache2k benchmarks
Can you please double check? Please also check whether there is some missconfiguration or missed tuning possibility. The relevant code is at EhCache3Factory
I would like to update the benchmarks in a few days and I am happy to incorporate any feedback.