So I am having two connections, one is a websockets connection with the frontend for notifications and another is a http connection which the user will directly use to perform some special actions. So there will be a websocket connection from one tab and a separate http connection in another tab. I have to relay events happening in the django http instance to the websockets connection so it can notify the frontend. Now as I understand Django, it creates separate application instances for every request. I want a way to quickly communicate that http instance and the websockets instance.
I'm using Django (version 2.2) along with django-channels for the websocket functionality. I know that there is a CHANNEL_LAYER feature in channels to communicate over something like Redis. I'm avoiding the use of Redis because this would be the only use-case for it and it won't be feasible. Is there another way to achieve this without the use of Redis?