November 21, 2025
Segment replication is a powerful index replication strategy for high QPS workloads that allows physical isolation and decoupling of indexing and search workloads, rapid replica failovers, and seamless point-in-time restores. However, this efficiency comes with its own unique challenges. During high indexing bursts, or if replication is delayed due to network issues, the system can accumulate large replication checkpoints. Searchers (replica shards) struggle to absorb these checkpoints, experiencing high page faults, thrashing for in-flight queries, and degraded search performance. This blog post describes how to address these issues and build a resilient segment-replicated system using Lucene's powerful new hooks for "Adaptive Refresh".