JavaScript Jabber

Structuring Node.js Applications Part 2: Dependency Management, Package Managers, Proper API Usage, etc.- JSJ 661

Dec 11, 2024
In this discussion, guests Michael Dawson, Node.js lead for Rathat and IBM, Matteo Collina, CTO of Platformatic, and James Snell from Cloudflare dive deep into Node.js application structuring. They explore effective dependency management strategies, stressing the importance of using tools like PMPM for monorepos. The team discusses the need for modernization in API usage and responsible practices in open-source contributions. Additionally, they highlight the significance of intentional development and maintaining a healthy work-life balance for developers.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ADVICE

Non-Blocking Event Loop

  • Divide work into small chunks to prevent blocking.
  • Allow the event loop to return and process I/O.
ADVICE

Node-Specific Metrics

  • Monitor Node.js-specific metrics, especially memory usage.
  • Avoid killing processes based on arbitrary thresholds.
ADVICE

Node LTS

  • Use Node.js LTS versions for production.
  • LTS versions offer better support and security fixes.
Get the Snipd Podcast app to discover more snips from this episode
Get the app