-
Notifications
You must be signed in to change notification settings - Fork 2
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
Switch to event based listening #3
Comments
As a sidenote, this would allow for supporting WebSocket and potentially UDP |
Will this library be useful: AsyncIO It is part of the standard-library and will thus have no external dependencies. Alternatively, there is also this: aioHTTP
aioHTTP is built on top of asyncIO, so the 2 could work together. And it looks like AsyncIO itself also has UDP support: link |
I'm definitely aware of AsyncIO. The problem is that I don't know how to use it. I'll definitely get there eventually, but classes have kept me from working on this too much. |
Can you break down exactly what is the first minimum-viable goal for a rewrite using asyncIO/aioHTTP? If the goals/targets are clear, I can attempt a small re-write on an experimental branch. |
The minimum viable goal would be
If 4 is achieved, then you would no longer need bridge nodes between browsers and python. |
Also, if it's able to support multiple event loops, that's definitely a large plus. Because some of them are significantly faster than AsyncIO. |
The current daemon is brittle and inefficient. What needs to happen is a simple event loop for me to tie into. Unfortunately this is where my Python skills are less than stellar, so I'll need to learn what frameworks are available.
The text was updated successfully, but these errors were encountered: