Unlike inference and query agents, dedicated cache server nodes are defined and deployed at the node level. No other types of agents are permitted on a dedicated cache server node. No configuration is required in TIBCO Designer.For an overview of cache servers and their role within a cache cluster, see Cache Server Nodes (Storage Nodes). This chapter deals with cache server configuration.
Agent Nodes Functioning as Cache Servers It is possible, but not generally recommended, to enable inference and query agent nodes to act as cache servers in addition to their other functions. Using dedicated cache server nodes for data storage is more efficient and more scalable for production scenarios.To deploy a node as a cache server only, ignoring any other agent-level functionality configured in the EAR, deploy any project EAR file using a correctly configured engine property file (see Configuring a Dedicated Cache Server Node.)If the be.engine.cacheServer property is set to true, any agent-related configuration in the EAR file is ignored and the node is internally configured to have a cache server agent. All entities (concepts and events) are available.Memory and Heap Size Guideline for Cache ServersThe amount of memory you need for cache servers depends on factors such as how many objects you have, their object management configuration, and whether you are using limited or unlimited cache.You must find an appropriate balance for your projects between too little memory, which leads to too much time spent in garbage collection, and too much memory, which leads to longer garbage collection cycles. The optimal heap size depends on the needs of your projects, such as how much data is kept in each cache server, how many cache servers are used, and whether the cache is limited or unlimited.For example, if you use a JVM heap size of 1024 MB (1GB), in order to minimize the impact of garbage collection, about 75% of the heap can be used to store cache items, which means about 768 MB per heap. The other 25% is then available for garbage collection activities.
Copyright © TIBCO Software Inc. All Rights Reserved.