NestJS · Senior · Question 24 of 75

How would you implement multi-tenancy with a database per tenant in Nest?

Explanation

Cache connections per tenant and limit pool sizes, or the total number of DB connections explodes.

Further reading

Problem with a question

NestJS · Senior · question 24

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