How is Spring Cloud Gateway different from Zuul?

后端 未结 1 469
悲&欢浪女
悲&欢浪女 2020-12-23 13:19

I have been using Zuul as the edge service and API Gateway. Recently I have noticed that Spring Cloud Platform release Spring Cloud Gateway. What is the difference between t

相关标签:
1条回答
  • 2020-12-23 13:49

    I am the author of spring cloud gateway. Zuul is built on servlet 2.5 (works with 3.x), using blocking APIs. It doesn't support any long lived connections, like websockets.

    Gateway is built on Spring Framework 5, Project Reactor and Spring Boot 2 using non-blocking APIs. Websockets are supported and it's a much better developer experience since it's tightly integrated with Spring.

    0 讨论(0)
提交回复
热议问题