NestJS · Senior · Question 27 of 75

How should a Nest app shut down in Kubernetes to avoid dropped requests?

Explanation

Enable shutdown hooks; also set keep-alive timeouts correctly behind load balancers.

Further reading

Problem with a question

NestJS · Senior · question 27

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