Cache Modes and Project Design
The Rete network consumes a large amount of the available memory in the JVM.
You can use cache modes to tune the performance of your application, and reduce its footprint in memory. You can keep memory objects in the cache or Rete network using the following cache modes:
This section describes the cache modes available in more detail, and explains how to use them appropriately. For configuration details, see TIBCO BusinessEvents Configuration Guide.
- Cache Modes are Set on Individual Entities to Tune Performance
You set cache modes at the level of individual entity types in your project. - Cache Plus Memory — For Constants and Less Changeable Objects
With the cache plus memory setting, the entity objects are serialized and are always available in cache. - Memory Only — Useful for Stateless Entities
When you select memory only mode for an entity type, instances of that entity are available only in the engine’s local JVM memory only. - Cache Only Mode
As with the cache plus memory mode, when you choose the cache only mode for selected entities, the entity objects are serialized and are always available in cache. - Cache Only Objects in the Rete Network
Copyright © TIBCO Software Inc. All rights reserved.