خرید بک لینک

Vote count: 0

I develop one app with Django framework and deploy it on ubuntu using uwsgi and nginx.


If nginx boot two worker processes, these processes will load django app code in two memory areas. If we use global variable G in views.py, then the change for G in one HTTP request may be invisible to another HTTP request.

My question is :

How to share global information between different processes with Django ?

asked 3 mins ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 24 ارديبهشت 1395 ساعت: 14:23

صفحه بندی