Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Performing Basic TIBCO ActiveSpaces Tasks : Using a Space as a Cache

Using a Space as a Cache
To use a space as a cache, you should configure it with the following attributes:
Capacity Assign a capacity (the maximum number of tuples per seeder that can be stored in the space).
Eviction Policy Set up an eviction policy; for example, set up a Least Recently Used (LRU) policy to determine what happens when the space is full and a request to insert a new tuple is made. In that case, and in that case only, the space will evict one of the tuples to make room for the new one. By default, spaces do not have a capacity, meaning that the capacity is unlimited. Also, by default, spaces have no eviction policy, meaning that if the space has a capacity, an attempt to insert an extra tuple will fail due to the capacity being reached.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved