FlashKeepers

Cloud Computing · Professional · Professional Certifications

Nginx, Load Balancing and Reverse Proxies

Nginx config blocks, reverse proxying, load balancing algorithms, TLS termination, caching, health checks and HAProxy.

About this set

36 basic cards for Professional Cloud Computing. It opens with "What is Nginx?" and "How does a reverse proxy differ from a forward proxy?". Study it alongside the other Professional sets below.

36 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What is Nginx?
Show answerHigh-performance event-driven web server and reverse proxy
How does a reverse proxy differ from a forward proxy?
Show answerReverse proxy sits between clients and backend servers; forward proxy sits between client and internet
Name four main Nginx config block types
Show answerhttp, server, location, and upstream
What problem does load balancing solve?
Show answerDistributes client requests across multiple backend servers to improve availability and performance
Describe the round-robin load balancing algorithm
Show answerRequests are sent to each backend server in sequence, cycling through the list
What does the least connections load balancing algorithm do?
Show answerRoutes each new request to the backend server with the fewest active connections
How does IP hash load balancing ensure consistency?
Show answerHashes the client IP address to determine backend, so same client always routes to same server
How do weights affect round-robin load balancing?
Show answerBackends receive requests proportional to their weight value, allowing unequal distribution
What does the least time load balancing method optimize for?
Show answerRoutes requests to the backend with the lowest latency and fewest active connections
What happens during TLS termination?
Show answerReverse proxy decrypts encrypted client traffic and forwards to backend, optionally re-encrypting
What does an upstream block define in Nginx?
Show answerA named group of backend servers that can be referenced by proxy_pass directives
What does the proxy_pass directive do?
Show answerForwards HTTP requests from a location to a specified backend server or upstream group
What is the purpose of health checks in load balancing?
Show answerDetect backend server failures so traffic is not routed to unavailable or unhealthy servers
What is HAProxy primarily used for?
Show answerLoad balancing, reverse proxying, and high-availability clustering of backend services
What is session stickiness in load balancing?
Show answerA client is consistently routed to the same backend server to maintain session state

21 more cards in the app

Study this set free