Total entity number in caches when a limited cache is used for multiple caches.

Total entity number in caches when a limited cache is used for multiple caches.

book

Article ID: KB0086019

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
If be.engine.cluster.isCacheLimited is set to true the cache size is limited. If a limited cache is used at the global level, be.engine.limited.cache.back.size.limit specifies the size of the limited cache, in number of cache entries for each object type in each agent where local storage is enabled.


Environment:
===========
  TIBCO BusinessEvents 4.0.2
  All Operating Systems


Resolution:
===========
Currently, the total entity number is limit (size of  be.engine.limited.cache.back.size.limit) * cache count. For example, if you enable backing store FraudDetectionCache in BE 4.0.2, it works if set with the following properties:

1). be.engine.cluster.isCacheLimited -> true
be.engine.limited.cache.back.size.limit -> 5


2). Start two cache agents.

3). If you create 10+ concepts of Account, you can see 10+ records in the table D_Account in the backing store and only 10 concepts when looking at the JMX count of object instances (MBeans->com.tibco.be/Cache/dist-limited-bs-readOnly$fdcache$$be.gen.Concepts.Account).

Issue/Introduction

Total entity number in caches when a limited cache is used for multiple caches.