-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue112 #152
base: master
Are you sure you want to change the base?
Issue112 #152
Conversation
Pickling sockets does not work for the moment which is a real blocker.
Have you taken a look at my other questions ? |
As long as the session attribute can be pickled I think it could be shared through Redis.
To be honnest, I do not know. I only use Gunicorn.
Let's try to get a strategy and a working patch first. Documentation will come later I believe :)
I think a globally set SocketIoServer would help a lot I think.
If we can not serialize them, we are blocked. No matter which solution we try (Redis, ØMQ://ipc, Multiprocessing.manager, etc) if the data we need to share can not be serialized there is no where we can go. It seems I clearly overlooked some variables into the equation with my patch. In order to get a correct strategy I think we should answer the following questions:
|
Yes, you can follow the discussion here : https://groups.google.com/forum/#!topic/gevent-socketio/n9mS96cnNUw I think we are close to a solution, but I am super busy at the moment and I will not have time to work on this issue in a close future :( |
Has there been any further work on this issue? Is there anything that I can help with? |
Hi Lukas, I did not have time to work on this issue, sorry. However I think you can help by working on globally defined SocketIoServer variables as discussed in the thread given 2 comments above. :) |
This is an incomplete attempt to solve #112.
As discussed on the mailing list here is a pull request of the code so we can discuss the patch further.
Have a nice day :)