Pivotal GemFire® v8.2

Enabling Queue Conflation to Improve Update Performance

Enabling Queue Conflation to Improve Update Performance

Conflation of entry update messages can reduce the number of update messages a native client receives, thereby increasing performance. The native client receives only the most recent update for a particular entry key.

Conflation is enabled for a cache server region, so all clients receiving updates for a particular region benefit from the conflation. To enable conflation, set the cache server’s enable-subscription-conflation region attribute to true. This region attribute is false by default.

The queue managment code conflates entry updates as part of the enqueue operation. If the previous enqueued item for that key is also an update operation, the queue management code removes that previously enqueued update, leaving only the latest update to be sent when event distribution occurs. For high availability, conflation also occurs for any secondary queues.

Only entry update messages in a cache server region with distributed-no-ack scope are conflated. Region operations and entry operations other than updates are not conflated.

For more information, see Conflate the Server Subscription Queue in the Pivotal GemFire User’s Guide.

Overriding Queue Conflation Per-Client

Override conflation on a per-client basis by setting the conflate-events property in the native client’s file.

Valid settings are:
  • server. Uses the server settings.
  • true. Conflates everything sent to the client.
  • false. Does not conflate anything sent to the client.