This talk explores the upcoming major release of Piscina, a JavaScript library for managing worker pools, and its new features. The talk also cover the basics of threads in JavasScript, including worker_threads in Node.js, and share a preview of features currently in development. Whether you're new to threading or an experienced user, this session will provide valuable insights into efficient workload management in JavaScript.


AmsterdamJS is the largest and longest-running JavaScript meetup in town!
JavaScript has a bright shining future and the Amsterdam tech scene is thriving. Although there are vibrant user meetups and conferences on related topics, the city needs a strong and all-embracing JavaScript community and AmsterdamJS is it, since 2010.
Our goal is to cover everything JavaScript, from the browser to the server, from the framework to the crazy hack and from the hardware appliance to the data visualization. We also run an annual conference - JSNation
Contact email: events@gitnation.org
Submit your talk proposals here https://shorturl.at/rtH45
Propose the venue for next meetups https://shorturl.at/nuxQ1
By joining this group you agree to comply to our Code of Conduct https://jsnation.com/coc
What You'll Learn:
Event Loop Optimization & Performance - Understand how the event loop really works and learn Matteo Collina's proven techniques for preventing blocking operations. We'll explore the perf_hooks module for identifying performance bottlenecks, plus practical strategies for handling CPU-intensive tasks without freezing your application.
Strategic Caching Patterns - Implement multi-layered caching strategies using Redis, in-memory stores, and HTTP caching headers. Learn when to cache, what to cache, and how to invalidate cache effectively in distributed systems.
Promise Pitfalls & Alternatives - Discover when promises become performance liabilities and explore alternatives like streams and async iterators. We'll cover memory management and the hidden costs of promise chains in high-throughput scenarios.
Worker Threads & Multithreading - Master Node.js worker threads for CPU-bound tasks, following best practices for thread pool management and data sharing. Learn when to use worker threads versus child processes, and how to architect applications that leverage multiple cores effectively.
Production Metrics & Monitoring - Implement comprehensive application metrics using Prometheus and learn to instrument your code for meaningful observability. We'll cover custom metrics, histograms, and performance-tracking patterns used in production environments.
OpenTelemetry Integration - Setup distributed tracing with OpenTelemetry to track requests across microservices. Learn to integrate with distributed systems while maintaining performance and gaining deep insights into your application's behavior through standardized telemetry collection.
By the end of this workshop, you'll have the tools and knowledge to build Node.js applications that perform well under pressure, scale horizontally, and provide the observability needed for production operations.
Prerequisites: Solid understanding of JavaScript, Node.js fundamentals, and basic async/await patterns.
Platform Sponsors

Torc is a community-first platform bringing together remote-first software engineer and developer opportunities from across the globe. Join a network that’s all about connection, collaboration, and finding your next big move — together.
Join our community today!

Don't let broken lines of code, busted API calls, and crashes ruin your app. Join the 4M developers and 90K organizations who consider Sentry “not bad” when it comes to application monitoring. Use code “guild” for 3 free months of the team plan.
https://sentry.io
This talk explores the upcoming major release of Piscina, a JavaScript library for managing worker pools, and its new features. The talk also cover the basics of threads in JavasScript, including worker_threads in Node.js, and share a preview of features currently in development. Whether you're new to threading or an experienced user, this session will provide valuable insights into efficient workload management in JavaScript.


AmsterdamJS is the largest and longest-running JavaScript meetup in town!
JavaScript has a bright shining future and the Amsterdam tech scene is thriving. Although there are vibrant user meetups and conferences on related topics, the city needs a strong and all-embracing JavaScript community and AmsterdamJS is it, since 2010.
Our goal is to cover everything JavaScript, from the browser to the server, from the framework to the crazy hack and from the hardware appliance to the data visualization. We also run an annual conference - JSNation
Contact email: events@gitnation.org
Submit your talk proposals here https://shorturl.at/rtH45
Propose the venue for next meetups https://shorturl.at/nuxQ1
By joining this group you agree to comply to our Code of Conduct https://jsnation.com/coc
What You'll Learn:
Event Loop Optimization & Performance - Understand how the event loop really works and learn Matteo Collina's proven techniques for preventing blocking operations. We'll explore the perf_hooks module for identifying performance bottlenecks, plus practical strategies for handling CPU-intensive tasks without freezing your application.
Strategic Caching Patterns - Implement multi-layered caching strategies using Redis, in-memory stores, and HTTP caching headers. Learn when to cache, what to cache, and how to invalidate cache effectively in distributed systems.
Promise Pitfalls & Alternatives - Discover when promises become performance liabilities and explore alternatives like streams and async iterators. We'll cover memory management and the hidden costs of promise chains in high-throughput scenarios.
Worker Threads & Multithreading - Master Node.js worker threads for CPU-bound tasks, following best practices for thread pool management and data sharing. Learn when to use worker threads versus child processes, and how to architect applications that leverage multiple cores effectively.
Production Metrics & Monitoring - Implement comprehensive application metrics using Prometheus and learn to instrument your code for meaningful observability. We'll cover custom metrics, histograms, and performance-tracking patterns used in production environments.
OpenTelemetry Integration - Setup distributed tracing with OpenTelemetry to track requests across microservices. Learn to integrate with distributed systems while maintaining performance and gaining deep insights into your application's behavior through standardized telemetry collection.
By the end of this workshop, you'll have the tools and knowledge to build Node.js applications that perform well under pressure, scale horizontally, and provide the observability needed for production operations.
Prerequisites: Solid understanding of JavaScript, Node.js fundamentals, and basic async/await patterns.
Platform Sponsors

Torc is a community-first platform bringing together remote-first software engineer and developer opportunities from across the globe. Join a network that’s all about connection, collaboration, and finding your next big move — together.
Join our community today!

Don't let broken lines of code, busted API calls, and crashes ruin your app. Join the 4M developers and 90K organizations who consider Sentry “not bad” when it comes to application monitoring. Use code “guild” for 3 free months of the team plan.
https://sentry.io
Get in touch!
hi@guild.host