I'm building a Django application that uses PostgreSQL for data storage and Redis with Django Redis Cache for Django session storage. I'm also using RQ for asynchronous job queues. I've built the application so that my PostgreSQL database resides on a separate server. I have two questions:
- Should Redis and Django Redis Cache both be installed on my Django web server since they are handling session storage or should I install them on my database server since they are providing database-like functionality?
- Should RQ be installed on the web server or the database server? I would think it should be installed on the same server as Redis but I'm not sure.
Thanks.