DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Node.js Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
Node.js
What's the correct fix for state (like a session store) that needs to be consistent across cluster workers?
A
Use a plain in-memory object shared automatically
B
Externalize it to a shared store like Redis or a database that all workers can consistently read/write
C
Reduce the number of workers to one
D
There is no fix — this is an unavoidable limitation
Check Answer