- Microservices with Clojure
- Anuj Kumar
- 163字
- 2021-06-30 19:24:32
Service discovery
All the APIs exposed by a microservice are accessible via the IP address and port of the host machine on which the microservice is deployed. Since microservices are deployed in a virtual machine or a container that has a dynamic IP, it is quite possible that the IPs and ports that are allocated to the microservice APIs may change over time. Therefore, IP addresses and ports of services should never be hardcoded by the depending microservice. Instead, there should be a common database of all the services that are active for the current application. Such a database of services is called the service registry in microservices architecture and is always kept up to date with the location of the microservices. It keeps the details of all the active microservices including their current IP address and port. Microservices then query this service registry to discover the current location of the required microservices and connect to them directly.
- 網(wǎng)絡(luò)協(xié)議工程
- 連接未來(lái):從古登堡到谷歌的網(wǎng)絡(luò)革命
- 異構(gòu)基因共表達(dá)網(wǎng)絡(luò)的分析方法
- HCNA網(wǎng)絡(luò)技術(shù)
- WordPress 5 Complete
- Spring Cloud微服務(wù)架構(gòu)進(jìn)階
- SD-WAN架構(gòu)與技術(shù)(第2版)
- 通信十年:擁抱互聯(lián)網(wǎng)
- Learning Windows 8 Game Development
- Learning Storm
- 計(jì)算機(jī)網(wǎng)絡(luò)技術(shù)
- 世界互聯(lián)網(wǎng)發(fā)展報(bào)告2021
- 智能物聯(lián)安防視頻技術(shù)基礎(chǔ)與應(yīng)用
- Hands-On Microservices:Monitoring and Testing
- 網(wǎng)絡(luò)分析技術(shù)揭秘:原理、實(shí)踐與WinPcap深入解析