Home


5.3.2 Cache instances

Multiple cache instances are supported in WebSphere Application Server version 6 and later. The pools are configured using the WebSphere Application Server administration console, properties files, or resource references.

Create multiple cache instances to segregate cache entries into different pools based on their types, namely servlets, JSPs, and commands. This prevents a frequently occurring scenario where several small cache entries for commands will cause a larger servlet cache entry to be removed from the cache.

Another use of cache instances is to segregate objects that are very costly to build but are also infrequently used, and thus likely to be evicted.

Cache instances also improve performance by reducing synchronization time. When under load, DynaCache will synchronize the cache in memory with the cache on disk. During this time, nothing can be read from or written to the cache, effectively disabling the cache. Creating multiple smaller caches will help to reduce synchronization time.

+

Search Tips   |   Advanced Search