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

MongoDB for DBAs
MongoDB University
Optimizing Performance for SQL Based Applications
Microsoft via edX
App Deployment, Debugging, and Performance
Google Cloud via Coursera
Application Deployment, Debug, Performance 日本語版
Google Cloud via Coursera
Optimize TensorFlow Models For Deployment with TensorRT
Coursera Project Network via Coursera