4 ms·
I mean that without the ?quorum flag the stale reads are possible. I tested the etcd v3 (http api) and the reads were incredibly fast but when I set the flag, t
by rystsov 10y ago
I mean that without the ?quorum flag the stale reads are possible. I tested the etcd v3 (http api) and the reads were incredibly fast but when I set the flag, the read's latency became the same as write.
- ideal0227 10y agov3 does not have a native HTTP API. I suspect you still use v2 API. You need the gateway to make v3 works with HTTP: https://github.com/coreos/etcd/blob/master/Documentation/dev-guide/api_grpc_gateway.md https://github.com/coreos/etcd/blob/master/Documentation/dev... But that might impact performance quite bit depending on your workload.
- rystsov 10y agoI got it, I was using Etcd v3.1.0 but with v2 API.