###How we use consul We're big fans of consul at aster.is. How do we use it?
####Service discovery We feel that service discovery is a fundamental building block upon which we can build more flexible systems. With consul, service discovery is part of every node.
Consul makes it easy to register services that run on a server. For example by adding a file like zookeeper.json to the consul configuration directory, we can register static services across the cluster. This means that any node can just connect to zookeeper.service.consul
instead of a hardcoded list of ips. We use this pattern quite a bit to reduce the amount of automation code we need to write.
In addition to the API, consul exposes service discovery available via DNS so that clients don't need to have additional libraires installed to find components.