Technologies/Redis/redis.replication.repl_backlog_size
RedisRedisMetric

redis.replication.repl_backlog_size

Replication backlog size
Dimensions:None
Available on:DatadogDatadog (1)Native (1)PrometheusPrometheus (1)

Summary

Size in bytes of the replication backlog buffer on the master. This buffer stores recent write operations to support partial resynchronization when replicas disconnect temporarily. If a replica's lag exceeds the backlog size, it requires full resynchronization (expensive). As mentioned in the insight about replication backlog sizing, undersized backlogs combined with network instability force frequent full resyncs, impacting performance.

Interface Metrics (3)
DatadogDatadog
Replication backlog size
Dimensions:None
Native
Total size in bytes of the replication backlog buffer
Dimensions:None
PrometheusPrometheus
Replication backlog buffer size
Dimensions:None
Related Insights (2)
Replica Lag Hides Behind Stale Cache Hitscritical

Redis replica falling behind master (redis.replication.master_last_io_seconds_ago increasing) continues serving stale cached data with normal hit rates, masking synchronization issues until applications encounter data inconsistencies or master failover fails.

Replication Backlog Too Small for Network Instabilitywarning

When redis.replication.repl_backlog_size is too small relative to write rate and network latency, replicas require full resync after brief disconnections, causing replication storms and increased master load.