If it is, that if there are changes a service address, they will distribute the address change information to the service consumer side, to the service consumer side automatically routed to the new service address, this is the implementation of the principle of distributed services,
Since distributed framework would support service of automatic routing and load balancing, the OpenAPI open platform blueprint has a "service routing management function", what is the specific?
CodePudding user response:
Call address: open platform IP: port/routePathUpstream | target server: upstream IP: port/path
RoutePath will be spliced into: upstream IP: port/path/routePath, visit
Mean: when accessing routePath, actually is a reverse proxy gateway to address: upstream IP: port/path/routePath, response parameters, a request to complete,
Routing generally refers to path routing, namely the assertion type as the path, through the path identification request, in addition, there are the host, request header, range (before and after) routing assertion,