World Congress 2025 • Aug 20, 2025 • Session details

Node.js: More Threads Than You Think

Matteo Collina

Think Node.js is strictly single-threaded? Discover how modern thread pooling and shared memory can instantly quadruple your backend throughput without rewriting your architecture.

Pause
Mute Enter Fullscreen
#1 about 4 min

The myth of single-threaded architecture in Node JS

How Node.js evolved from its early single-threaded design to natively supporting robust multi-threading capabilities.

#2 about 3 min

Communicating across threads using message ports

Passing messages securely between individual system threads utilizing ports, channels, and broadcasting logic.

#3 about 1 min

Tracking thread responses with correlation IDs

Mapping asynchronous event handlers back to isolated worker task results using custom tracking tokens.

#4 about 2 min

Serializing objects with the structured clone algorithm

Transferring complex JavaScript structures securely across multiple environments via deep serialization algorithms to dodge memory collisions.

#5 about 3 min

Managing thread pools with Piscina and Tiny Pool

Abstracting thread synchronization and process overhead by adopting external workflow managers like Piscina.

#6 about 3 min

Real world performance benefits for worker threads

Exporting logger outputs and language module loading logic effectively to distinct threads circumvents critical IO pipeline disruptions.

#7 about 2 min

Running multiple applications with Platformatic VAT

Unifying multiple micro-framework deployments together sharing cohesive local memory eliminates tedious network proxy delays entirely.

#8 about 3 min

Demonstrating processing gains utilizing worker pools

Routing simulated computational bottlenecks towards external generic worker paths improves raw latency thresholds instantly.

#9 about 3 min

Optimizing request queue constraints via work skipping

Discarding pending operations explicitly if request depths surpass practical execution spans maintains smooth application operation.

#10 about 2 min

Scaling native APIs via underlying configurations

Multiplying available backend worker pools via immediate property modifications stretches local service resources safely without refactoring.

#11 about 2 min

Accelerating server side rendering operations seamlessly

Dedicating simultaneous core capacity strictly for dynamic markup generation processes directly accommodates significantly broader user demand.

#12 about 1 min

Accessing educational resources on runtime fundamentals

Sourcing exhaustive foundational literature guarantees deeper exposure to advanced Node.js runtime engineering patterns.

Matching moments

1:26 min

Managing the single-threaded Node.js event loop

Rob Richardson · JS Congress

2:30 min

Achieving true parallelism in JavaScript using web workers

Dani Coll Dani Coll · World Congress 2025

1:34 min

Shift away from traditional threads and the asynchronous era

Ivan Šarić Ivan Šarić · Europe 2026 Virtual

5:10 min

Audience Q&A on arrow functions and multithreading

Rob Richardson · JS Congress

2:10 min

Recognizing common virtual thread operational pitfalls and limitations

David Vlijmincx · LIVE

1:59 min

Improving parallel workloads and time formatting utilizing new patterns

Alfonso Graziano Alfonso Graziano · World Congress 2026 Europe