I was thinking about the right / optimal way to build an application based on multi-level applications in Django.
Some explanation:
The application can be used by several tenants (tenant1, tenant2, ...,).
All individual tenant data must be protected from access by other tenants (and their users).
If desired, tenants can create additional custom fields for application objects.
Of course, basic equipment limits the number of tenants on one "system."
1) Separation of each tenant, for example. subdomain and use of tenant-specific databases in the underlying layer
2) Using some tenant identifier in the model to separate tenant data in the database
I think about the deployment processes, the performance of system parts (web server (s), database server, working node (s), ...)
What would be the best setting? Where about pro and con?
What do you think?
django architecture multi-tenant
Oliver Rehburg Aug 25 '11 at 17:01 2011-08-25 17:01
source share