Interview study guide
Node.js, under the hood.
Everything from my two Node.js study docs, merged and reorganised by topic. Every example is run on a real Node, and every one has a walkthrough of what the runtime is actually doing.
- Chapters
- 16
- Topics
- 166
- Code samples
- 544
- Added beyond the doc
- 8
Learned
0 / 166
Study streak
0 days
This week
- 0 topics learned
- 0 highlights
- 0 of 7 days studied
Recent highlights See all →
Install Node.js Notes as an appOpens full screen from your home screen and works offline.
01Node.js FundamentalsWhat Node is made of, what "single-threaded" really means, and how it compares to thread-per-request runtimes.02The Event LoopHow Node schedules every callback — phases, timers vs setImmediate, nextTick and microtasks, and how to starve it.03Async PatternsCallbacks, promises and async/await the Node way — combinators, error handling, cancellation and async iteration.04Buffers & StreamsBytes in memory and data over time — Buffer, the four stream types, backpressure and pipeline.05ModulesCommonJS and ES modules in Node — loading, caching, shared state, resolution and circular dependencies.06EventEmitterNode's built-in observer — how emit really runs, errors, listener lifecycles, and when to reach for a real message broker instead.07ExpressRouting, the middleware chain, responses and centralised error handling in Express 5.08Authentication: JWT, Sessions & OAuthWho you are vs what you may do — JWT access tokens, refresh-token rotation, sessions, cookies, OAuth 2.0 with PKCE, and Passport.09SecurityProtecting each boundary — injection of every kind, prototype pollution, XSS, CSRF, headers, CORS and rate limits.10Performance & MemoryMeasure first — event-loop delay, CPU profiles, memory leaks, garbage collection and weak references.11Scaling: Workers, Processes & ClustersGetting past one thread — worker threads for CPU work, child processes, the cluster module, and what changes on Kubernetes.12Caching & Rate LimitingDoing less work per request and limiting how many requests you accept — cache-aside, invalidation, stampedes, and rate-limit algorithms.13TestingTesting async Node code with Jest and node:test — mocks, stubs, HTTP tests and what coverage really tells you.14Production & DeploymentShipping Node services — package.json and lockfiles, Docker images, logging and tracing, graceful shutdown and zero-downtime releases.15Architecture, Patterns & DatabasesDesigning Node systems — microservices and their failure modes, messaging, design patterns, and choosing a database.16Review QuestionsTest yourself — the interview questions from the notes, with worked answers.
Added marks topics that weren’t in my original doc. Tick Learned on a topic to track what you’ve revised.