FlashcardNot attempted
Is Node single-threaded?
Recall it before you reveal
"Is Node.js single-threaded?" Give the precise answer.
Space to reveal
Show answer & explanation
Your JavaScript runs on one thread (one event loop, one call stack), but Node itself is not single-threaded: libuv keeps a thread pool for blocking work (fs, crypto, zlib, dns.lookup), the OS handles network I/O asynchronously, and worker_threads give you extra JS threads for CPU-bound tasks.
That's why Node shines at I/O-bound orchestration (APIs, BFFs, SSR streaming) and struggles with heavy computation on the main thread.