CodeZettaInterview Hub

Node.js · Scaling · Fresh / Intern · Comparison

Vertical vs horizontal scaling for Node apps?

Short Interview Answer

Vertical: bigger machine; horizontal: more processes/instances behind a load balancer — Node usually scales out.

Detailed Explanation

Single process limited by one event loop. Combine with clustering/K8s replicas. Statelessness enables horizontal scale.

Did you know this answer?