TFW You can't Console.log Your Way out of Production Issues

Presentation byLaurynas Keturakis

Congrats, you deployed your Node app to prod! But how do you actually know if your users are having a good experience? Logs are great initially—until your dashboard becomes overwhelming. We could add metrics but they have a steep learning curve. In this talk we'll see where console.log falls short and learn how metrics help us better define what a good user experience is. We'll also discuss why useful code instrumentation is hard, and propose what we can do to make it easier.

Similar Presentations
Cover Photo for High-Performance Node.js: From Event Loop Mastery to Production Observability

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

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.

Matteo Collina

TFW You can't Console.log Your Way out of Production Issues

Presentation byLaurynas Keturakis

Congrats, you deployed your Node app to prod! But how do you actually know if your users are having a good experience? Logs are great initially—until your dashboard becomes overwhelming. We could add metrics but they have a steep learning curve. In this talk we'll see where console.log falls short and learn how metrics help us better define what a good user experience is. We'll also discuss why useful code instrumentation is hard, and propose what we can do to make it easier.

Similar Presentations
Cover Photo for High-Performance Node.js: From Event Loop Mastery to Production Observability

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

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.

Matteo Collina

Get in touch!

hi@guild.host