Interview Prep/Networking/Load Balancing, Proxies & nginx in Production

How do you terminate TLS efficiently on a busy proxy?

IntermediateProductionLoad Balancing, Proxies & nginx in Production
Answer

Prefer TLS 1.3, ECDSA certificates, session resumption (session cache and tickets with rotated keys), HTTP/2 or HTTP/3 to amortize handshakes, OCSP stapling, and hardware AES (AES-NI). Keep upstream connections alive so TLS is only paid at the edge.

Measure with openssl s_time and watch CPU per handshake.

All Networking questions Roadmap: Networking for DevOps

More on Load Balancing, Proxies & nginx in Production