CodeZettaInterview Hub

Node.js · Scaling · Junior · Architecture

What must be externalized to scale Node horizontally?

Short Interview Answer

Sessions, uploads, job queues, rate-limit counters, and any in-memory singleton state.

Detailed Explanation

Sticky sessions are a crutch. Use Redis/DB/object storage. Design for multi-instance from day one.

Did you know this answer?