Whirlycache is a fast, configurable in-memory object cache for Java. It can
be used, for example, to speed up a website or an application by caching objects
that would otherwise have to be created by querying a database or by another
expensive procedure. From the testing that we have done, it appears to be faster
than any other Java cache that we have been able to inspect.
Whirlycache is built around several design principles that differ from other
- Require synchronization as infrequently as possible
- Do as little as possible in the insertion and retrieval operations
- Soft limits are acceptable for many applications
- Disk overflow becomes a bad idea very quickly
Many attributes of Whirlycache are configurable in an XML file, but the most
important components of the cache are the Backend, the Tuner,
and the Policy.