operation-bundling
Used in: cachestore-scheme, distributed-scheme, remote-cache-scheme.
Description
The operation-bundling element specifies the configuration info for a particular bundling strategy.
Bundling is a process of coalescing multiple individual operations into "bundles". It could be beneficial when
- there is a continuous stream of operations on multiple threads in parallel;
- individual operations have relatively high latency (network or database-related); and
- there are functionally analogous "bulk" operations that take a collection of arguments instead of a single one without causing the latency to grow linearly (as a function of the collection size).
 |
As with any bundling algorithm, there is a natural trade-off between the resource utilization and average request latency. Depending on a particular application usage pattern, enabling this feature may either help or hurt the overall application performance. |
See com.tangosol.net.cache.AbstractBundler for additional implementation details.
Elements
The operation-bundling element contains <bundle-config> for one or more bundle-able operations.