Consul

http://gotocon.com/berlin-2015/presentation/Consul:%20Discover%20your%20Services

Jörg Müller / Oliver Fischer

 

  • Problem Areas:
    • Monitoring
    • Configuration
    • Orchestration
    • Service Discovery
      • via Registry
        • Robustness
  • Consul
    • easy installation
    • Local agent per node
    • gossip protocol for membership & failure detection interchange
    • Consul Agent in Server Node on an odd number of nodes
      • (odd number for leader election)
    • service discovery: strict (via leader) oder not strict (might be a little out of sync)
    • DNS:
      • java doesn't re-resolve APIs
      • Other possibilities:
        • REST
        • HA Proxy
        • Client Side LB (via REST?)
    • Client-side Retry-Handling needed!
    • Other Features:
      • command line interface, Web-UI, http-API
      • Key-Value Store (e.g. for configuration)
      • Remote Execution (disable !?)
      • Checks => integration with Nagios
      • Watches & (Custom) Events
    • State of Consul
      • dive into the source code, if you really want to understand what is going on
      • Problems: fixed quickly

 

TODO