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

Add ability to avoid blocking IO with gevent #102

Closed
byaka opened this issue May 23, 2016 · 1 comment
Closed

Add ability to avoid blocking IO with gevent #102

byaka opened this issue May 23, 2016 · 1 comment
Assignees

Comments

@byaka
Copy link
Owner

byaka commented May 23, 2016

Патч experimental.moreAsync отлично показал себя на блокирующих IO операциях. Он использует нативные потоки в дополнение к гринлетам.
Однако сейчас он реализует механизм отложенных IO операций сам. Нужно вынести его в код сервера, это может быть полезно на некоторых задачах и даст больше контроля.

@byaka byaka added this to the Last major release milestone May 23, 2016
@byaka byaka self-assigned this May 23, 2016
@byaka
Copy link
Owner Author

byaka commented May 23, 2016

Также нужно попробовать, как поведет себя сервер при использовании этого механизма для простых но длительных алгоритмических апераций

byaka added a commit that referenced this issue May 25, 2016
Added:
 -Added gevent-compatible implementation of raw_input(). This closes #105 issue.
 -Added callAsync() - ability for executing functions without blocking server. This closes #102 issue.
 -Added support of compressed requests. Also implemented auto-using compression in parallelWithSocket exec-backend. This closes #101 issue.
 -Added persistent mode for parallelWithSocket.wait(). This closes #79 issue.
Fixed:
 -Added auto-switch for long-type in ujson, but not solve this. See #78 issue.
 -Fixed perfomance problems with _controlGC(). This closes #106 issue.
 -Rewrited parallelWithSocket exec-backend, now it use socket class, provided by server. This closes #104 issue.
 -Many other small fixes and improvements.
@byaka byaka closed this as completed May 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant