Is it feasible to use database-per-tenant with 1000 tenants?

505 Views Asked by At

I would like to build a multi tenant Spring Boot application. I prefer persisting the data for every tenant in a separate database.

This approach implies the usage of a data source (and a connection pool) for each tenant/database.

In my scenario I have about 1000 tenants. Does anyone have experience with having 1000 connection pools in a Spring Boot application?

What do you recommend for such a scenario?

Thanks!

0

There are 0 best solutions below