3

We are planning to migrate to ehcache3 from ehcache2 to use offheap memory.

Few Doubts related to the configurations:

  1. diskExpiryThreadIntervalSeconds :

Ehcache 2 had a background thread for disk expiry whose timeout can be changed using this config. Is it configurable in 3, If not what is he default value

  1. diskSpoolBufferSizeMB

Ehcache 2 asynchronously flushes data to disk from memory buffers whose size can be configured. Is it configurable in 3, If not what is he default value.

Ehcache3 for each cache uses disk segments which is configurable, but what is the buffer size

  1. Default thread-pools in Ehcache3

If i don't define disk writer threads, what is the default behavior. Is it fixed/shared/cached ? Is it recommended to have separate pool for each cache or a common disk writer pool

Feel free to answer partially and give any other recommendation to tune ehcache3 with respect to disk use.

Holy_diver
  • 377
  • 1
  • 15

0 Answers0