Skip to content
RED SAGSkills
hard20 pts · first answer countsnodejsconcurrencyperformance

One slow route freezes Node.js

In a Node.js API, one endpoint resizes images using a synchronous pure-JavaScript loop that takes 2 seconds. During that time all other requests, even health checks, hang. Why, and what is the right fix?

Choose one answer