NestJS · Senior · Question 13 of 75

How do you reduce cold-start time of a Nest app on serverless platforms?

Explanation

Initialization (module scanning, DI graph, DB connections) dominates cold starts. Reuse the app across warm invocations.

Further reading

Problem with a question

NestJS · Senior · question 13

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