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

Investigate porting viff to Gevent #3

Open
2 tasks
amiller opened this issue Feb 4, 2018 · 0 comments
Open
2 tasks

Investigate porting viff to Gevent #3

amiller opened this issue Feb 4, 2018 · 0 comments

Comments

@amiller
Copy link
Owner

amiller commented Feb 4, 2018

There are some benefits to using gevent instead of twisted.
You can write your code in a more straight-line fashion, avoiding "callback hell". Functions like I/O and waiting for a queue are written as though they block, but actually yield to other greenlet threads.
My No. 1 reason to prefer gevent to twisted is that I find it easier to debug, since an except has a meaningful call stack.

  • List out advantages/disadvantages of gevent vs twisted
  • Determine which parts would be most difficult to port
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

1 participant