Jorge Arévalo
Jorge Arévalo

Reputation: 2998

Split Django project in several servers

May I split a Django project in different servers? I mean: I create a project (startproject) and, inside it, I create 2 apps (startapp). Is it possible that each app lives in a different server? Or do I need one Django project per app?

UPDATE: I will explain a bit more

I'm going to create a web based application aimed to 2 different types of users:

So, the application has 2 different parts:

There will be more consumers than creators. And one important thing is the consumer part will be public (anyone can access the content), but the creator part will require authentication.

As there are way more consumers than creators, it makes sense (for me) split the app in 2 parts (different servers for each apps) and put more resources in the consumer app (heavy load, a lot of traffic) than in the creator app (less users, less traffic)

I know: I'm basically defining Youtube.

Upvotes: 1

Views: 375

Answers (1)

vivekv
vivekv

Reputation: 2298

Not to my knowledge - no. I think the problem you are trying to solve is not really a Django issue. You are trying to put a customer facing and associate facing application on two different networks and you want as much isolation as possible. Possibly network separation or at least different VLANs / access control etc.,

My suggestion is that you create them as separate projects and separate apps in Django.

Upvotes: 1

Related Questions