What is Zuul API Gateway in Microservice Architecture
In this tutorial we are going to learn about Zuul Api gateway and its features.
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.
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
• Insights and Monitoring
• Dynamic Routing
• Stress Testing
• Load Shedding
• Static Response
• Multiregional Resiliency
Let’s assume that User’s microservice is receiving heavy traffic, in this case Microservice architecture provisions us the flexibility to scale up the Users microservice up to N instance based on the traffic received on the server which is the biggest advantage of Microservice architecture over Monolithic architecture.
Currently Zuul is under Maintance due to which we are using Spring Cloud API Gateway in our tutorials which serves the same purpose as Zuul.