Jump to content

Dear members, finally, we decided to refresh our theme. Decision was brought based on multiple factors, primarily because of technical needs as old one is not compatible with a new platform version, but also because you all asked for a darker theme.
Here you go!

Please head here if you want to vote https://www.elite7hackers.net/topic/411861-the-new-theme/

 

This site uses cookies! Learn More

This site uses cookies!

For providing our services, we do use cookies.
But get used, this is what most of modern web do!
However we have to warn you since we are obligated to so due to EU laws.

By continuing to use this site, you agree to allow us to store cookies on your computer. :)
And no, we will not eat your computer nor you will be able to eat those cookies :P

Promaja

Building Multi Tenant Applications with Django

Recommended Posts

0058bb50.jpg

Building Multi Tenant Applications with Django by Shabda Raaj
English | 29 July 2018 | ASIN: B07G1Q7GQL | 45 Pages | EPUB | 368.34 KB

Are you building SaaS app? If you are, you are probably looking to add multi tenancy to your apps.

This book will teach you about the various multi tenancy architectures, the trade offs involved, and how to build a multi tenant app the right way.

Table of Contents:

Introduction to multi tenant applications
- What are multi tenant apps?
- The structure of this book
- The various approached to multi tenancy

Shared database with shared schema
- The base single-tenant app
- Adding multi tenancy to models
- Identifying tenants
- Extracting tenant from request
- A detour to /etc/hosts
- Using tenant_from_request in the views
- Isolating the admin

Shared database with isolated schema
- Limitations of shared schema and our current method
- What are database schemas?
- Managing database migrations
- Tenant separation in views
- A middleware to set schemas
- Beyond the request-response cycle

Isolated database with a shared app server
- Multiple database support in Django
- Database routing in Django
- Per tenant database routing using middlewares
- Outside the request response cycle

Completely isolated tenants using Docker
- Tools we will use
- Building a docker image from our app code
- Using docker-compose to run multi container, multi-tenant apps
- The final docker-compose.yaml

Tying it all together
- Launching new tenants
- A comparison of trade-offs of various methods
- What method should I use?

Third party apps
- Open source Django multi tenancy apps
- A tour of django-tenant-schemas



http://nitroflare.com/view/162E20FA42C31A5/Building.Multi.Tenant.Applicati.-.Shabda.Raaj.epub


https://rapidgator.net/file/fa4637a8a4e0db4d9c4120feb013e1b0/Building.Multi.Tenant.Applicati.-.Shabda.Raaj.epub.html

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Elite7Hackers Netwok

Hack the imagination!

Support and inquiries

Open support ticket here or email us at [email protected]

Highlights

Highlighted/recommended lights

×

Important Information

By using this site, you agree to our Privacy Policy and Terms of Use.