Node.js: Debugging and Performance Tuning

Go to class
Write Review

Free Online Course: Node.js: Debugging and Performance Tuning provided by LinkedIn Learning is a comprehensive online course, which lasts for 2-3 hours worth of material. The course is taught in English and is free of charge. Upon completion of the course, you can receive an e-certificate from LinkedIn Learning. Node.js: Debugging and Performance Tuning is taught by Jon Peck.

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