High-Performance Node.js: From Event Loop Mastery to Production Observability

Presentation byMatteo Collina

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.

Similar Presentations
Cover Photo for Real-World React: The Architectural Playbook for Scalability, Resilience, and Observability (feat. Next.js)

Real-World React: The Architectural Playbook for Scalability, Resilience, and Observability (feat. Next.js)

This workshop dives into the core of building resilient, scalable, production-ready applications with React and Next.js, grounding you in a pragmatic approach to software development. We’ll tackle common web performance pitfalls, showing you how to make impactful optimizations without compromising readability, maintainability, or speed, essential when delivering under tight timelines. You’ll explore resilience patterns that enable your applications to perform reliably under real-world demands along with how to make the right compromises, whether you’re building for early-stage platforms or scaling up to serve millions of global users.

Covering React reconciliation fundamentals, we’ll provide the context needed for structuring large-scale component architectures, alongside best practices for designing components that stay maintainable over time. Through a case study using TanStack Query, you’ll tackle data fetching at scale to ensure optimal app performance with complex data requirements.

Finally, we’ll focus on post-deployment strategies, including setting up observability and monitoring tools to detect issues early. This workshop provides an adaptable playbook for creating robust applications that endure, building a skill set to navigate the evolving problem spaces and needs across different project stages, whether you’re developing from scratch or scaling for global audiences.

Faris Aziz

High-Performance Node.js: From Event Loop Mastery to Production Observability

Presentation byMatteo Collina

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.

Similar Presentations
Cover Photo for Real-World React: The Architectural Playbook for Scalability, Resilience, and Observability (feat. Next.js)

Real-World React: The Architectural Playbook for Scalability, Resilience, and Observability (feat. Next.js)

This workshop dives into the core of building resilient, scalable, production-ready applications with React and Next.js, grounding you in a pragmatic approach to software development. We’ll tackle common web performance pitfalls, showing you how to make impactful optimizations without compromising readability, maintainability, or speed, essential when delivering under tight timelines. You’ll explore resilience patterns that enable your applications to perform reliably under real-world demands along with how to make the right compromises, whether you’re building for early-stage platforms or scaling up to serve millions of global users.

Covering React reconciliation fundamentals, we’ll provide the context needed for structuring large-scale component architectures, alongside best practices for designing components that stay maintainable over time. Through a case study using TanStack Query, you’ll tackle data fetching at scale to ensure optimal app performance with complex data requirements.

Finally, we’ll focus on post-deployment strategies, including setting up observability and monitoring tools to detect issues early. This workshop provides an adaptable playbook for creating robust applications that endure, building a skill set to navigate the evolving problem spaces and needs across different project stages, whether you’re developing from scratch or scaling for global audiences.

Faris Aziz

Get in touch!

hi@guild.host