This was just right on time for me. Than you for sharing this tutorial; this is a premium content! You got new subscriber & good luck with your channel, mate!
Even when using 1 postgres schema per tenant, administration still shares migration complications you associated with the multi database approach, right? I'm curious what a reasonable number of schemas is for a database. Is there performance reduction or connection limits for having 50 schemas/tenants on a single database? Maddening! lol. Great tutorial. I've seen a few Django Saas videos but most are several years old and NONE talk about doing it in Docker. Thanks!
Thanks! PostgreSQL can handle a large number of schemas efficiently, but there are some limitations regarding simultaneous connections (Pooling can mitigate this, though), querying schemas and performance issues. But up to 100 tenants for medium-scale applications should not be a problem.
Are tenants useful if I want to do a To-Do List for my friends? so each friend has her/his name in the url + (dot)todo/ Or does this add unnessecary complication?
That is probably an overkill imo. You want to use tenants when you want your users data isolated from each other by creating separate databases or schemas, for example when you have different clients and sensitive data. If you just want to add subdomains to your site you can use a package like django-subdomains.
this might be the only django-tenants video tutorial, thank you
I agree with that. Tenants is on of the topics harder to find in a practical way.
This was just right on time for me. Than you for sharing this tutorial; this is a premium content! You got new subscriber & good luck with your channel, mate!
Awesome! Thanks
please upload the next video at your earliest, thank you.
Looking forward to the next video
Thank you so much for this video. I was just thinking about this today and you just uploaded it. 😁
@@awesomejr.530 good timing then 😀
@@ajudmeister yes. 😁
@@ajudmeister hey andreasjud please make a playlist on elasticsearch, rabbitmq and kafka in django, its a humble request.
Thank you Andreas 👏👏
Andreas Jud, cool content dude
Thanks for this video.
Amazing work, doing my part for the algorithme
my most of the projects will be in django tenants as DBaas products
good thank you
Even when using 1 postgres schema per tenant, administration still shares migration complications you associated with the multi database approach, right? I'm curious what a reasonable number of schemas is for a database. Is there performance reduction or connection limits for having 50 schemas/tenants on a single database? Maddening! lol. Great tutorial. I've seen a few Django Saas videos but most are several years old and NONE talk about doing it in Docker. Thanks!
Thanks! PostgreSQL can handle a large number of schemas efficiently, but there are some limitations regarding simultaneous connections (Pooling can mitigate this, though), querying schemas and performance issues. But up to 100 tenants for medium-scale applications should not be a problem.
wow great, I've been waiting for this for so long now Thank you Andreas !
Are tenants useful if I want to do a To-Do List for my friends?
so each friend has her/his name in the url + (dot)todo/
Or does this add unnessecary complication?
That is probably an overkill imo. You want to use tenants when you want your users data isolated from each other by creating separate databases or schemas, for example when you have different clients and sensitive data. If you just want to add subdomains to your site you can use a package like django-subdomains.
django 5.1.1. is compatible with django-tenat 3.7.0 ?
Need to check the django-tenant docs, but yes, its compatible with django 5.1
For the Algotythmn