I have configured my Nginx with Django uwsgi.
When the django server starts, it reads a 5MB file from the hard-disk.
Now, Without Nginx with Django default server
python manage.py runserver => Runs immediately and starts serving pages.
With Nginx as the server
It takes very long time and several
HTTP 504 before it start serving pages.
So, How does uwsgi workers work with Nginx ?
4 Workers 512 Threads each
So, is the 5MB file getting read 512 * 4 times ?
Is there a possible work around for this in Nginx / Uwsgi ?