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

Upcoming sessions on this topic

Open session

How We Cut Our API's p99 Latency from Minutes to Under a Second

  • Deepak Agrawal

    Atlassian

    Principal Software Engineer

Open session

From Profiler to Production: Measuring What Actually Matters in React & React Native

  • Andrei Tazetdinov

    Dynatrace

    React Native Developer

Open session

React Under Fire: Rendering Performance for Streaming Agent UIs

  • Abhirupa Mitra

    Slack

    Senior Member of Technical Staff

Open session

Multi-Cloud Isn't a Project. It's a Side Effect.

  • Antonio Mendoza Pérez

    Temporal Technologies

    Staff Developer Success Engineer

  • Gaurav Thadani

    Temporal

    Staff Developer Success Engineer

Open session

Build a Zero-Cost AI Agent in Your Browser

  • Aishwarya Mathuria

    Adobe

    Computer Scientist

  • Nishant Thakur

    Adobe

    Senior Computer Scientist

Open session

Shipping MCP to Real Users: Scaling, Auth, and the PII Leak You Didn't See Coming

  • Hadar Geva

    Myop

    CTO & Co-founder