Home > other >  OpenAPI service routing management function is to point to?
OpenAPI service routing management function is to point to?

Time:09-18

If you choose to dubbo as a distributed service framework, open platform gateway application as a service consumer is registered with the framework of dubbo zookeeper inside? Call system internal services, like other micro service consumers by RPC calls?
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/routePath
Upstream | 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,
  • Related