Re: latency for replication

2018-07-20 Thread Mikhail
there no special API for this, I think you can do the following: 1. measure latency for FULL_SYNC mode = it consists of preparing data, sending it to primary, sending from primary to backups, sending a response from backup to the primary, sending a response back to the client. 2. measure latency f

latency for replication

2018-07-19 Thread Cong Guo
Hi, How can I measure the latency for updates to be replicated from the primary node to a backup node? I use the PRIMARY_SYNC mode. I want to know the time for a backup node to catch up. Is there any API for the latency measurement? Do you have any suggestion? Thanks, Cong