WAF, API Gateway, Load Balancer (Reverse Proxy) Flashcards
Is the load balancer a forward proxy or a reverse proxy?
Reverse Proxy
Two available software load balancers in the market?
HAProxy
NGINX
List four key features provided by API Gateway.
User Authentication & Authorization
API Rate Limiting
Request & Response Modifications
Response Caching
List two key features provided by Load Balancer.
SSH Termination
Request Routing based on
- load
- response time
- API endpoint
- round-robin
- weighted (server size)
How to prevent DDoS attacks on the web application?
WAF (Web Access Firewall) or AWS Shield
Which rate limit algorithm to choose when the server doesn’t want to entertain bursts of traffic?
Leaky Bucket (use FIFO queue to hold requests)
Downside: High latency
Users: Shopify
List five available rate-limiting algorithms.
Leaky Bucket (burst free)
Fixed Window Counter
Token Bucket
Sliding Windows Log (high on memory demand)
Sliding Window Counter (approximated)