Skip to content
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

gevent compatibility with jupyter client #101

Open
samzhang111 opened this issue Dec 4, 2015 · 1 comment
Open

gevent compatibility with jupyter client #101

samzhang111 opened this issue Dec 4, 2015 · 1 comment

Comments

@samzhang111
Copy link

I'm running multiple jupyter clients inside of a gevent server, and I would like clients to relinquish control when they perform blocking communications with the kernel. Is there a recommended way for doing this?

If I had control over the code, I could replace import zmq with import zmq.green as zmq in the manager and client. However, as a consumer of the library, I don't see any obvious ways of doing this aside from monkey-patching zmq.

@minrk
Copy link
Member

minrk commented Dec 7, 2015

Probably the thing to do is to write your own Client subclass that creates gevent-compatible Channels using zmq.green.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants