Taming event loop lag

July 2, 2024 By Mark Otto 0

Node.js Weekly

How We Tamed Node.js Event Loop Lag: A Deepdive — Node famously uses very few threads yet can handle a large number of clients performantly, as long as the work associated with each client is ‘small.’ When you get nested loops, as in this story, however, things can go off the rails quickly. Node’s Don’t Block the Event Loop is a great further guide to this topic.

Eric Allam

Create Server-Side GraphQL APIs with Next.js — Learn the GraphQL fundamentals in this video course with Scott Moss — covering type definitions, type modifiers, relationships, directives, and more. Create schemas, build queries, and use mutations to implement standard CRUD operations. Configure your server and add authentication so your API is production-ready.

Frontend Masters

Node’s July 2, 2024 Security Releases — New Node versions on the maintained 22.x, 20.x, and 18.x release lines are expected later today to address five different security vulnerabilities/issues.

The Node.js Project

📊 Profiling Node.js Applications — If you’re dealing with unusual performance issues, profiling your app can determine where the issues are arising. This tutorial offers a sample project to work on and covers profiling in a handful of different ways.

Stanley Ulili

🛠 Code & Tools