Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netflix-Zuul vs Mashape-Kong

Both Zuul and kong serve as a good API gateway layer in a microservices architecture. What are some important differences between these two?

like image 306
ChrisOdney Avatar asked Dec 05 '16 10:12

ChrisOdney


People also ask

What is the replacement of ZUUL?

Istio is an open platform for providing a uniform way to integrate microservices, Istio's control plane provides an abstraction layer over the underlying cluster management platform, such as Kubernetes, Mesos, etc. ... nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy.

Does Netflix use Zuul?

It provides a single entry to our system, which allows a browser, mobile app, or other user interface to consume services from multiple hosts without managing cross-origin resource sharing (CORS) and authentication for each one. Netflix uses Zuul for the following: Authentication. Insights.

Is ZUUL blocked?

Zuul 1. x is Servlet 2. x-based and, therefore, is blocking in nature. Each request into Zuul occupies a single container thread, which limits the number of concurrent requests that can be handled to the number of worker threads available in your app container.

Is Kong built on Nginx?

The Kong Server, built on top of NGINX, is the server that will actually process the API requests and execute the configured plugins to provide additional functionalities to the underlying APIs before proxying the request upstream. for proxying. This is where Kong listens for HTTP traffic.


1 Answers

For those looking into some numbers, this is a great post of comparing the different solutions out there.

I've been implementing some cross-cutting concerns at the API Gateway level and we are using Kong. However, I think some of the libraries provided by Kong to write plugins in Lua are not as mature and solid as something written in Java for example. Lack of documentation, difficult to debug, among other problems related to scripting languages.

There are some good notes on the performance of using Netflix's Zuul versus the wrapper provided by Spring Cloud. So it might be good to take a look at those problems listed in there.

like image 149
Andrés Soto Avatar answered Sep 18 '22 02:09

Andrés Soto