I have a Django app served by Gunicorn. I want to add WebSocket notifications to it, using PostgreSQL as the message queue and either gevent-socketio or tornadio as the WebSocket server.
Can I use the same Gunicorn process to serve WebSockets? Or, rather, do I need another process running gevent's SocketIOServer
or tornadio's SocketServer
?