keep track of replication latency