Closed boddumanohar closed 4 years ago
Hi,
Our application has a lot of tenants to perform database migratons on. Currently we do the migrations in serial. But that takes a lot of time.
Is there a suggested way to run migrations in parallel?
we have a few approaches:
are there any other suggested approaches that could make the migrations run in parallel for a large set of tenants?
Thanks, Manohar.
Did you solve this? We're facing the same problem.... we use celery to handle migrations (and it works), but we think we can improve the performance with asyncio. have you ever tried something like this?
Hi,
Our application has a lot of tenants to perform database migratons on. Currently we do the migrations in serial. But that takes a lot of time.
Is there a suggested way to run migrations in parallel?
we have a few approaches:
are there any other suggested approaches that could make the migrations run in parallel for a large set of tenants?
Thanks, Manohar.