Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

feature request : allow to provide a client_manager #10

Open
thomasleveil opened this issue Nov 30, 2020 · 5 comments
Open

feature request : allow to provide a client_manager #10

thomasleveil opened this issue Nov 30, 2020 · 5 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@thomasleveil
Copy link

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

@pyropy pyropy added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Nov 30, 2020
@pyropy
Copy link
Owner

pyropy commented Nov 30, 2020

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 🚀

@lefnire
Copy link

lefnire commented Feb 19, 2021

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.

@y-mironov
Copy link

Hello. Any progress ?

@kalmastenitin
Copy link

Any Ideas @pyropy ??

@pyropy
Copy link
Owner

pyropy commented Jan 26, 2022

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants