by armon · 12y ago · 0 comments
With respect to ZooKeeper, there are different approaches. ZK provides a low-level primitive on which you can build. Consul provides similar primitives, but it ships with many features out of the box that don't require any development effort. It's a "batteries included" approach.
Specific examples:
- Real-time configuration with Consul + consul-template
- DNS based service discovery
- Scalable Nagios replacement
- Dynamic HAProxy / Varnish configuration
- Application configuration with Consul + envconsul
- Triggering config management tools with the event system
That is just a handful of uses for Consul that don't require writing any code. Doing similar things with ZK is possible, just requires a lot more work.