Nacos integrate Spring Cloud Gateway components

First, what is Spring Cloud Gateway

Spring Cloud Spring Cloud Gateway is the official launch of the Gateway framework, as a gateway flow inlet has a very large role in the common routing forwarding functions, rights verification, traffic restrictions.

Two, Spring Cloud Gateway problem

If the client is connected directly to each micro service, there will be a lot of problems

  1. The client will request several times for different services, increase muscle complexity of client requests.
  2. There is cross-domain requests.
  3. Certification authority complex, each service requires independent certification.
  4. The latter will have greater difficulty increase reconstruction services, consolidation services.

By means of the above problems can be a gateway to the outcome. Gateway is a server-side and client-side intermediate layer, all client requests to go through the gateway.

Guess you like

Origin www.cnblogs.com/baoyinlei/p/11441906.html