3 ms·
Varnish / Frontline server sends static media to nginx, and other request to uwsgi cluster. Nginx / static media servign UWSGI / app servers Django / We
by lacion 15y ago
Varnish / Frontline server sends static media to nginx, and other request to uwsgi cluster.
Nginx / static media servign
UWSGI / app servers
Django / Web Framework
PGSQL / Relational Database
Redis / NoSQL / cache / sessions
*RabbitMQ / messaging queue
we use varnosh as a frontend server it handles the load balancing betwen our UWSGI servers, and if the request is a static file its send to our nginx server. we them use redis to store all of our cache and sessions, we cache everything so everytime there is a read from our database via the django ORM our api grabs the whole object returned and stores it in redis so next time we need to retrieve it we just hit redis.