15Rezept: REST mit Consul und Apache httpd

Dieses Kapitel zeigt eine Implementierung für ein synchrones Microservices-System mit Consul und dem Apache-httpd-Server.

Wesentliche Inhalte des Kapitels sind:

  • Consul ist eine sehr mächtige Service-Discovery-Technologie.
  • Apache httpd kann als Load Balancer und Router für HTTP-Requests in einem Microservices-System genutzt werden.
  • Consul Template kann für den Apache httpd eine Konfigurationsdatei erstellen, in der Microservices aufgeführt sind. Consul Template konfiguriert und startet den Apache httpd neu, wenn neue Microservice-Instanzen gestartet werden.

Woher kommt Consul?

Consul ist ein Produkt der Firma Hashicorp (https://www.hashicorp.com/), die verschiedene Produkte im Bereich Microservices ...

Get Das Microservices-Praxisbuch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.