
Desertcart purchases this item on your behalf and handles shipping, customs, and support to South Korea.
NodeBook - Core Runtime and I/O is Volume I, Part 1 of NodeBook that covers the first four chapters - Node.js Architecture, Buffers and Binary Data, Streams, and File System. It covers runtime mechanics, memory behavior, I/O contracts, failure modes, and production edge cases. The book goes well beyond basic Node.js usage and assumes you already write JavaScript. It focuses on the mechanisms that decide how code executes, how async work is scheduled, how bytes move through memory, and how Node communicates with the operating system. Runtime architecture - Node startup gets traced from bootstrap into V8. Built-in modules load. JavaScript calls cross into C++ bindings. libuv handles connect the process to timers, files, sockets, and worker-pool work. Process lifecycle follows. Active resources keep the process alive. Signals trigger shutdown paths. Leaked handles, exit codes, child processes, and cluster behavior are treated as production mechanics. V8 execution - The engine section covers Ignition, Sparkplug, Maglev, and TurboFan. Hidden classes and transition trees explain object shape behavior. Inline caches connect directly to monomorphic and megamorphic call sites. We also talk about Deoptimization - SMI values, heap objects, object layout, string internalization, V8 flags, and hot-path profiling turn performance advice into something you can reason about in service code. Event loop behavior - Timers have a phase. Poll has its own rules. Check and close callbacks have separate execution points. Microtasks, Promise jobs, and `process.nextTick()` run through priority paths that explain real callback order. It also covers `setTimeout(fn, 0)`, `setImmediate()`, worker-pool dispatch, GC pauses, loop latency, CPU-bound work, `worker_threads`, and process-level scaling. Binary data - The buffer chapters start with bits, bytes, hex, encodings, and text decoding failure. Then they move into allocation pools, unsafe memory, the 4096-byte cutoff, and external memory accounting. Buffer views get careful treatment. `slice()`, `subarray()`, shared backing stores, copies, endianness, retained memory, fragmentation, GC pressure, review rules, and memory profiling all matter once bytes flow through real systems. Streams - Readable streams are covered as stateful producers. Writable streams are covered through write queues, `highWaterMark`, `drain`, `_writev()`, `_final()`, and backpressure across multiple writers. Transform and duplex streams go deeper. You work through `_flush()`, partial chunks, byte-to-object parsing, destroy semantics, `pipeline()`, `finished()`, AbortSignal integration, async iteration, composable transforms, tee flows, zero-copy decisions, scatter/gather I/O, corking, syscall cost, and measurement. File I/O - The file-system chapter starts with file descriptors and descriptor tables. Open flags, creation modes, `umask`, close semantics, `EMFILE`, and `FileHandle` explain how Node owns OS file resources. The chapter then moves through whole-file helpers, stream-based reads and writes, random access, binary header parsing, buffer reuse, `fsync`, line parsing, parallel file work, `await using`, sync calls, and libuv thread-pool contention. File watching and atomic writes - `fs.watch()` is explained through inotify, FSEvents, and ReadDirectoryChangesW. Polling gets its own treatment. Debouncing, editor safe-write behavior, same-filesystem rename, temp-file replacement, durability, and consistency all get tied to actual file update behavior. The final sections cover permissions, effective UIDs, TOCTOU, Windows ACLs, stats, timestamps, hard links, symlinks, inodes, device files, `/proc`, named pipes, Unix sockets, sparse files, VFS behavior, and safe file-type checks. Start here if you want precise runtime behavior behind familiar Node APIs.
| Best Sellers Rank | #2,045,663 in Books ( See Top 100 in Books ) #112 in Computer Performance Optimization #379 in JavaScript Programming (Books) #1,139 in Software Testing |
Trustpilot
1 month ago
3 days ago