- Microservices with Clojure
- Anuj Kumar
- 199字
- 2021-06-30 19:24:32
Service registry
The service registry acts as a database of microservices. It must have a dedicated static IP address or a fixed DNS name that must be accessible from all the clients, as shown in the following diagram. Since all the clients depend on a service registry to look up the target services, it also becomes a single point of failure for the entire microservices architecture. Therefore, the implementation of the service registry must be extremely lightweight and should support high availability by default. Some common tools that can be used as a service registry are Apache Zookeeper (http://zookeeper.apache.org/), etcd (https://github.com/coreos/etcd), and consul (https://www.consul.io/):

To keep the registry up to date, microservices should either implement the startup/shutdown event to register/deregister with the service registry themselves or there should be an external service configured to keep track of services and keep the registry up to date. Some orchestration tools, such as Kubernetes (https://kubernetes.io/), support service registry out of the box and maintain the registry for the entire infrastructure.
- 廣電5G從入門到精通
- MERN Quick Start Guide
- Twilio Cookbook
- TCP/IP入門經典(第5版)
- 網絡創(chuàng)新指數(shù)研究
- 物聯(lián)網之霧:基于霧計算的智能硬件快速反應與安全控制
- C/C++串口通信:典型應用實例編程實踐
- Learning Windows 8 Game Development
- 網絡綜合布線(第2版)
- 圖神經網絡前沿
- Laravel Application Development Cookbook
- 圖解物聯(lián)網
- ReasonML Quick Start Guide
- 互聯(lián)網安全的40個智慧洞見(2018)
- 視聽變革:廣電的新媒體戰(zhàn)略