mediumStudy question · answer published in Node.js interview questions, so no pointsnodejsevent-loopperformance
One report slows every request
An Express API has a route that builds a large report in a synchronous loop taking 3 seconds. While it runs, even the health check times out. Why?
Discussion 0
Join free to post in the discussion.
Related questions
- Empty req.body in ExpressFull Stack Developer
- Timer vs promise orderFull Stack Developer
- Why commit the lockfileFull Stack Developer
- What ^3.22.4 allowsFull Stack Developer
- Measuring speed in dev modeFull Stack Developer
- The N+1 query problemFull Stack Developer
- Caching hashed static filesFull Stack Developer
- Three awaits, three times slowerFull Stack Developer