NestJS · Middle · Question 71 of 75

With several app instances, why does the default throttler storage give wrong limits?

Explanation

Configure a Redis storage for ThrottlerModule, and trust the proxy so the real client IP is used.

Further reading

Problem with a question

NestJS · Middle · question 71

Test yourself

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

Take this quiz