Websockets in python Quart with multiple workers?
Is there a solution to broadcast a message when my app is launched across multiple workers - for example using hypercorn?
I'm currently launching my app like this:
$ hypercorn -b 127.0.0.1:8000 -w 4 wsgi:app
But the documented solution is to keep the connected clients in memory, with no way to broadcast to others that subscribed to the same event.
Any ideas? I was thinking to use Redis to achieve this, but I would like a simpler solution.