Measuring performance Couchbase Server using C-client (libcouchbase2)
I am writing an application using the C libcouchbase2 APIs to measure the performance of Couchbase servers. I have enabled replication (Factor of 3) on servers (I have 5 of them). I would like to measure the average latency of replication of a key/value pair. Meaning, once I issue a store to a server, how much time it takes for two other copies to be created on the other servers?
I was using the
lcb_server_stats API in libcouchbase2 and this API generates multiple callbacks for each of the parameters. I would like to know which parameter I can use to measure the replication latency? I am guessing we have to use
vb_replica_num parameter. But there is not much documentation on this parameter.
Any help is greatly appreciated. Thanks!