help designing a fallback django paralel server

16 views
Skip to first unread message

Marco Silva

unread,
Aug 30, 2016, 7:07:25 AM8/30/16
to Django users
Hello,

I have several critical systems, each run a django server witch users use trough the local network(192.168.xxx.xxx)  to control and monitor the system. The goal would be to create a more powerfull remote server, that could unify several local servers, so that regular use would be only trough this remote server, and local access should be only available for when internet connection would fail.

How should i implement this systems? how would the DB sync?
Also, some services should run on the local server, like some celery based scheduled tasks.

M Hashmi

unread,
Aug 30, 2016, 7:48:32 PM8/30/16
to django...@googlegroups.com
Not sure what exactly you want because why would you want your workers to access server on speed of internet when you have them locally connected.

However, as far as I understood is that you can have one machine setup as remote with some firewall that will open up ports based on local IP addresses. If you mean you have multiple django projects then you can assign separate ports to each project and use gunicorn or any other same functionality based application. What gunicorn do is that it associates your internal port to a socket that can be accessed from local network or web. You can then let the django admin/authorization system handle authentication based on provided credentials.

Again I have no idea what architecture you are using but let's assume to keep it simple you have NT implemented network, then you can set profilings attached to connection states after implementing any firewall software. 

For a precise answer please send some diagram with information about your network architecture. 

Regards,
Mudassar

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/de599153-2adc-4fd4-a5f4-b04f5149b4fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages