-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Home
Zuul is the front door for all requests from devices and web sites to the backend of the Netflix streaming application. As an edge service application, Zuul is built to enable dynamic routing, monitoring, resiliency and security. It also has the ability to route requests to multiple Amazon Auto Scaling Groups as appropriate.
To dive right in: Getting Started 2.0
The volume and diversity of Netflix API traffic sometimes results in production issues arising quickly and without warning. We need a system that allows us to rapidly change behavior in order to react to these situations.
Zuul uses a range of different types of filters that enables us to quickly and nimbly apply functionality to our edge service. These filters help us perform the following functions:
-
Authentication and Security - identifying authentication requirements for each resource and rejecting requests that do not satisfy them.
-
Insights and Monitoring - tracking meaningful data and statistics at the edge in order to give us an accurate view of production.
-
Dynamic Routing - dynamically routing requests to different backend clusters as needed.
-
Stress Testing - gradually increasing the traffic to a cluster in order to gauge performance.
-
Load Shedding - allocating capacity for each type of request and dropping requests that go over the limit.
-
Static Response handling - building some responses directly at the edge instead of forwarding them to an internal cluster
-
Multiregion Resiliency - routing requests across AWS regions in order to diversify our ELB usage and move our edge closer to our members
For more details: How We Use Zuul At Netflix
Zuul 2.x components:
-
zuul-core - the core functionality of Zuul 2.0
-
zuul-sample - a sample driver application for Zuul 2.0
Zuul 1.x components:
-
zuul-core - library which contains the core functionality of compiling and executing Filters
-
zuul-simple-webapp - webapp which shows a simple example of how to build an application with zuul-core
-
zuul-netflix - library which adds other NetflixOSS components to Zuul - using Ribbon for routing requests, for example.
-
zuul-netflix-webapp - webapp which packages zuul-core and zuul-netflix together into an easy to use package
A Netflix Original Production
Tech Blog | Twitter @NetflixOSS | Jobs
-
Zuul 2.x
-
Zuul 1.x