Web / NGINX Interview questions
What is NGINX?
NGINX is an open-source web server that also works as a reverse proxy, load balancer, mail proxy, and HTTP cache. It was created by Igor Sysoev to solve the C10k problem - handling thousands of concurrent connections without running out of resources.
Unlike traditional servers that spawn a new process or thread per connection, NGINX uses an asynchronous, event-driven architecture. A small number of worker processes handle many connections each, keeping memory and CPU usage predictable under heavy load.
In production stacks, NGINX commonly sits in front of application servers like Node.js, Django, or PHP-FPM, terminating SSL, serving static assets directly, and forwarding dynamic requests upstream.
More Related questions...