by bogomipz · 10y ago · 0 comments
"Consul agent takes part in Raft, so doing infrastructure discovery in your whole environment means every system takes part in Raft"
Consul agent runs in two modes - master and client. From the Consul Docs:
"Client - A client is an agent that forwards all RPCs to a server. The client is relatively stateless. The only background activity a client performs is taking part in the LAN gossip pool. This has a minimal resource overhead and consumes only a small amount of network bandwidth."
The client doesn't take part in the consensus protocol. This seems to be the OPs whole reason for choosing etcd over Consul and I don't believe the OPs claim is correct.
I think that with the upcoming kubernetes trend, many OPs guys are somehow familiar with the CoreOS stack where etcd fits in very great. The hashicorp toolchain is great, but I've seen many OPs guys only using terraform or vault e.g. and don't build an integrated environment with nomad or atlas.
The CoreOS stacks I've seen are more integrated in platforms than the hashicorp ones (can be a good and a bad thing at once).
I think this is one of the nice parts about Hashicorp releases though is that they are building blocks and you can choose to use them as standalone pieces - Consul, subsets Consul + Vault or of them in an integrated stack such Nomad and Atlas.
I agree with you though if you are a CoreOS shop it certainly makes sense to choose etcd.
I have read a blog post about continous testing of consul at high scale too (can't find the link for now), but I can't remember to got this much insights.