YoVDO

Node.js: Debugging and Performance Tuning

Offered By: LinkedIn Learning

Tags

Node.Js Courses Microservices Courses Visual Studio Code Courses Performance Tuning Courses Chrome DevTools Courses

Course Description

Overview

Learn how to debug and optimize the performance of your Node.js applications.

Syllabus

Introduction
  • The power of debugging and performance tuning
  • What you should know
  • Using challenges
  • Configuring your development environment
  • Demo application tour
1. Build a Troubleshooting Mindset
  • Finding what went wrong
  • Why measure performance?
  • Documenting problems
  • When is a problem resolved?
2. Introducing Microservices
  • What's a microservice architecture?
  • Microservice rock, paper, scissors
  • Introducing PM2 for process management
  • Managing microservices with PM2
3. Effective Logging Strategies
  • Why and what should I log?
  • Problems with Node.js console
  • Implementing Express error pages
  • Choosing a logging library
  • Adding Winston for Node logging
  • Request logging with Morgan
  • Correlating requests in logs
  • Cross-application request correlation
  • Challenge: Cross-application request IDs
  • Solution: Cross-application request IDs
4. Debugging Node.js Applications
  • Debugging isn't just logging
  • Introducing Node's built-in debugger
  • Command-line debugging with Node inspect
  • Debugging Node in Chrome DevTools
  • Debugging Node with Visual Studio Code
5. Measuring Performance
  • Benchmarking performance
  • Benchmarking with ApacheBench
  • Benchmarking code with Winston
  • Profiling code execution
Conclusion
  • Knowing what to optimize
  • Caching fundamentals
  • Next steps

Taught by

Jon Peck

Related Courses

Browser Rendering Optimization
Google via Udacity
Webpack 4: Beyond the Basics
Udemy
Debugging Sites Using Chrome DevTools
Pluralsight
Learning Chrome Web Developer Tools
LinkedIn Learning
Vanilla JavaScript: Progressive Web Applications
LinkedIn Learning