Back to all use cases

SupportTelecommunications

A replication queue that grows after the outage is over

Regional Telecom Operator

After a link outage, a GemFire gateway sender queue between two sites kept growing instead of draining. AceMQ tuned the sender and receiver, drained the backlog and set up support for the replication path.

Overview

A telecom operator replicated subscriber session state between two sites with GemFire WAN gateways. A link outage of about 40 minutes left a large queue on the sending site, and when the link returned the queue kept growing instead of draining.

Challenge

Sustained write volume was close to what the sender could dispatch, so there was never any spare capacity to work off a backlog. The persistent queue was consuming disk on the sending members, the remote site was falling further behind, and failing over to it would have meant serving stale state.

Environment

GemFire 10.x active-active across two data centres, serial gateway senders with persistent queues on shared disks, receivers on the remote site, Java services writing session state.

Approach

AceMQ engineers compared queue size and batch statistics per sender with the receiver's apply rate, found the sender limited by a single dispatcher thread and small batches, and checked that the receiver was not the real bottleneck. Conflation was acceptable for last-value session entries, which cut the volume to move. Changes went in one site at a time with the queue watched throughout.

Solution

  1. Compared sender queue statistics with receiver apply rate to confirm where the limit was
  2. Raised dispatcher threads and batch settings in steps, watching receiver latency between each
  3. Enabled conflation for session regions where only the latest value matters
  4. Moved the persistent queue disk store to its own storage so queue writes stopped competing with region persistence
  5. Wrote the site-failover procedure, including what to check about staleness before promoting the remote site
  6. Added alerts on queue size and queue age, with a threshold set well below the point where failover is risky

Outcome

The backlog drained within a few hours of the change and later link blips cleared without intervention. The team now has queue age alerts and a written failover check, and the replication path is covered by ongoing support rather than looked at only after an outage.

Technologies

GemFireJavaObservability

Need Expert GemFire Support?

AceMQ's senior GemFire engineers have handled this exact type of engagement before. Whether you need architectural guidance, hands-on remediation, or an ongoing managed partnership, we're ready to help.