Chapter Conclusion
Understand how to set up synchronous microservices using Consul for service discovery and configuration, combined with Apache httpd for routing and load balancing. Learn the advantages of Consul's DNS interface and transparency over alternatives, and how this stack supports heterogeneous environments without code dependencies.
We'll cover the following...
Setting up a microservices system with Consul is another option for a synchronous system.
Summary #
This infrastructure meets the typical challenges of synchronous microservices as follows.
Service discovery #
Service discovery is covered by Consul. Consul is very flexible; due to the DNS interface and Consul Template it can be used with many technologies. This is particularly important in the context of microservices. While a system might not need to use a variety of technologies from the start, in the long term it is advantageous to be able to integrate new technologies.
Increased transparency #
Consul is more transparent to use than Eureka. The Spring Cloud ...