- 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.
- 網(wǎng)絡(luò)云百問百答
- Building E-commerce Sites with VirtueMart Cookbook
- Learning Karaf Cellar
- Go Web Scraping Quick Start Guide
- 正在爆發(fā)的互聯(lián)網(wǎng)革命
- 計算機網(wǎng)絡(luò)原理與應(yīng)用技術(shù)
- Mastering Dart
- 通信原理及MATLAB/Simulink仿真
- 物聯(lián)網(wǎng)與智能家居
- 6G無線網(wǎng)絡(luò)空口關(guān)鍵技術(shù)
- 物聯(lián)網(wǎng)場景設(shè)計與開發(fā)(初級)
- 網(wǎng)絡(luò)利他行為研究:積極心理學的視角
- Getting Started with Memcached
- 無線傳感器網(wǎng)絡(luò)定位技術(shù)
- 深入理解Nginx:模塊開發(fā)與架構(gòu)解析