HashiCorp Consul

Consul (https://www.consul.io/) is primarily a service discovery client from HashiCorp. It focuses on consistency. Consul is entirely written in Golang.

This means it will have a lower memory footprint. Added to that, we can also use Consul with services written in any programming language.

The main advantages of using Consul are as follows:

  • It has a lower memory footprint.
  • It can be used with services that are written in any programming language.
  • It focuses on consistency rather than availability.

Consul also provides service discovery, failure detection, multi-datacenter configuration, and key-value storage.

This is an alternative option to JHipster Registry. There is an option to choose between JHipster Registry and Consul during application creation.

Eureka (JHipster Registry) requires each application to use its APIs for registering and discovering themselves. It focuses on availability over consistency. It supports only applications or services written in Spring Boot.

On the other hand, Consul runs as an agent in the services and checks the health information and a few other extra operations listed previously.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.219.14.63