deephacks/tools4j — Issue #7: Investigate: Define a CachingManager SPI for runtime context
Author: krisskross
Created: 2012-01-05 11:48:01+00:00
State: open
Labels: config

Caching should support millions of instances and even more properties.

- On what level to invalidate the cache? Instance, schema or globally?
- Should timewindows be implemented? Should they be configurable?
- How much memory is available? Configurable size? weak references? etc
- Are repeatable reads needed by applications?
- Are caches local or can they passivate data to disk?
- Guava has cache algorithms for the most simple cases.
- Look at memcached, hazelcast etc for more advanced caching