AlgoViz

NGINX

medium 28 min

NGINX (say "engine x") is a web server, reverse proxy, load balancer and response cache.

What each level should show

The same question is judged differently for mid, senior and staff.

  • Mid

    Must show

    • Explains reverse proxy and event loop
    • Names three balancing methods
    • Sets forwarded headers and timeouts

    Will be probed on

    • What happens with a slow client
    • Reload or restart

    Stands out

    Says which state is per machine.

  • Senior

    Must show

    • Caches with a lock and protects private data
    • Designs for the loss of one proxy
    • Reads 502 and 504 from logs

    Will be probed on

    • Connection limits and open files
    • Exact limits over several machines

    Stands out

    Uses numbers: hit ratio, connections, capacity left after a failure.

  • Staff

    Must show

    • Weighs NGINX, Envoy and managed balancers for the team
    • Plans certificates, rollout and rollback of configuration

    Will be probed on

    • Worker model limits such as connection reuse
    • Who may change the edge

    Stands out

    Treats edge configuration as code with tests and staged rollout.