fastapi-socketio
fastapi-socketio copied to clipboard
feature request : allow to provide a client_manager
So that we can use Redis or RabbitMQ to make socket.io work in a multi process context.
See https://python-socketio.readthedocs.io/en/latest/server.html?highlight=redis#using-a-message-queue
Hey @thomasleveil 👋
Thank you for the feature request 🙏
I have seen previously that there is possibility of using Redis, RabbitMQ and other services with SocketIO but haven't dig any deeper into the use-cases and implementation.
I will read some docs and take a look on how could we implement this 🚀
Also interested in this. I'm not sure how it can be tied to app
, since using a Manager replaces that argument socketio.AsyncServer(client_manager=socketio.AsyncRedisManager('redis://'))
- so it seems mutually exclusive? But yeah, this feature would be a boon for scaling apps (multiple servers), as well as some features which appear only available on the JQ Managers, like sio.get_participants()
to see a list of users in the room.
Hello. Any progress ?
Any Ideas @pyropy ??
Hey sorry folks, I really have a lot of going on my plate so I don't really have time to get feature requests going. I would appreciate any contributions from your side as that would help me greatly in maintaining this library.