Need advice about which tool to choose?Ask the StackShare community!
etcd vs HAProxy: What are the differences?
Developers describe etcd as "A distributed consistent key-value store for shared configuration and service discovery". etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines. It’s open-source and available on GitHub. etcd gracefully handles master elections during network partitions and will tolerate machine failure, including the master. On the other hand, HAProxy is detailed as "The Reliable, High Performance TCP/HTTP Load Balancer". HAProxy (High Availability Proxy) is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications.
etcd and HAProxy are primarily classified as "Open Source Service Discovery" and "Load Balancer / Reverse Proxy" tools respectively.
"Service discovery" is the primary reason why developers consider etcd over the competitors, whereas "Load balancer" was stated as the key factor in picking HAProxy.
etcd is an open source tool with 25.9K GitHub stars and 5.26K GitHub forks. Here's a link to etcd's open source repository on GitHub.
According to the StackShare community, HAProxy has a broader approval, being mentioned in 457 company stacks & 211 developers stacks; compared to etcd, which is listed in 27 company stacks and 11 developer stacks.
Pros of etcd
- Service discovery11
- Fault tolerant key value store6
- Secure2
- Bundled with coreos2
- Privilege Access Management1
- Consol integration1
- Open Source1
Pros of HAProxy
- Load balancer130
- High performance101
- Very fast69
- Proxying for tcp and http58
- SSL termination55
- Open source31
- Reliable27
- Free20
- Well-Documented18
- Very popular12
- Runs health checks on backends7
- Suited for very high traffic web sites7
- Scalable6
- Ready to Docker5
- Powers many world's most visited sites4
- Work with NTLM2
- Ssl offloading2
- Simple2
- Available as a plugin for OPNsense1
Sign up to add or upvote prosMake informed product decisions
Cons of etcd
Cons of HAProxy
- Becomes your single point of failure6