当前位置:网站首页>How API gateway finds the role of microserver gateway in microservices

How API gateway finds the role of microserver gateway in microservices

2022-06-23 21:52:00 User 8715145

In a general sense api The gateway is a system server , Its main function is to monitor, intercept and authenticate , As a unified entry point , It can coordinate the access of different clients to the background server . Access to all ID Unified authentication , So as to ensure the normal operation of the system . api How can the gateway find the microserver

api How can the gateway find the microserver ?

Microserver is an indispensable part of the application , api The role of the gateway is to coordinate different microservice architectures , In the actual use process ,api How can the gateway find the microserver ? stay api Different microservice paths will be added in the process of gateway construction and setup , Add all the site portals you want to manage to api Management console for . Therefore, when users of different portals send requests to api When the gateway requests access to the backend ,api The gateway can find the microservices that users want to find at the fastest speed , And give fast authentication , Provide a quick route , Help different users reach the specified microservice port .

The role of gateways in microservices

The above has been understood api How does the gateway find the microserver , Let's learn more about api Gateway plays an important role in microservice architecture . If do not have api In the case of gateway , If users access different microservice ports through different access paths , Need to send multiple visits , This undoubtedly increases the burden of system verification . and api The gateway port can be applied to multiple network access protocols , In the case of unified verification , Help the system reduce the traffic burden .

That's all api How can the gateway find the related contents of the microserver ,api Gateways do more than that , With the continuous expansion of system application microservices , In the future api The gateway will also add many new functions .

原网站

版权声明
本文为[User 8715145]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/12/202112211053466488.html