NestJS · Senior · Question 59 of 75

Why should long CPU-bound work not run in a Nest request handler?

Explanation

Watch event loop delay; a single slow handler raises latency for everyone.

Further reading

Problem with a question

NestJS · Senior · question 59

Test yourself

Take the NestJS · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz