SpringCloud-Introduction to Zuul

5e918fb60001ac0719201080.jpg (1920×1080)

5cc69d9500013f9b19201080.jpg (1920×1080)

5cc69ec900013a0519201080.jpg (1920×1080)

Commonly used gateway solutions

1.Nginx+Lua

2.Kong (the configuration is simpler than Nginx, and there are many plugins that need to be paid)

3.Tyk (Various supports, developed in Go language)

4. Spring Cloud Zuul (routing + filter, filtering: security, monitoring, current limiting, routing ...) The service gateway serves as a request entry and cannot be hung up. Need to ensure stability, high availability, concurrency, security, and scalability. The gateway is suitable for the perfect place to handle non-business functions: protocol forwarding, log monitoring, traffic control, api permissions, etc.

5ab4aaf6000129e519201080.jpg (1920×1080)

5ab4ab1e0001ee4b19201080.jpg (1920×1080)

5ab4ab440001986219201080.jpg (1920×1080)

5ab4aba90001e29419201080.jpg (1920×1080)

5ab4b1fc00012c4919201080.jpg (1920×1080)

  • Pre pre-filter, current limiting. Authentication, parameter verification, request forwarding. Both fit in the pre-filter.

5ab4b22b0001229a19201080.jpg (1920×1080)

5ab4b2630001ef9b19201080.jpg (1920×1080)

  • Multiple zuuls achieve high availability, and multiple nodes are registered with Eureka. You can use Nginx and Zuul to mix and match, use Nginx to expose Url, and forward the request to multiple Zuul services. Nginx continues to do load balancing and zuul is responsible for filters and routing to various services. Then there is no need to perform authentication once for each service.
Published 952 original articles · praised 1820 · 890,000 views

Guess you like

Origin blog.csdn.net/Dream_Weave/article/details/105456341