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

Easy async support? #22

Open
potchin opened this issue Apr 5, 2017 · 1 comment
Open

Easy async support? #22

potchin opened this issue Apr 5, 2017 · 1 comment

Comments

@potchin
Copy link

potchin commented Apr 5, 2017

Not exactly an 'issue' but more of a question.. Is there any easy way to get this running asynchronously? The Sockerserver threading and forking mixins obviously spawn threads/processes for each tcp connection. Is there a dropin async replacement?

@netom
Copy link
Owner

netom commented Apr 6, 2017

I found no true drop-in replacement, however there is asyncore, an asynchronous socket framework.

I imagine someone could create an asynchronous mixin to be used with SocketServer, this would be a good drop-in replacement of the currently used threading solution.

We could also just use pure asyncore and decouple PyICAP from the SocketServer library so it easily could be used with both.

I'll try to figure out a working example in the near future.

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