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

WIP: LIBUV progress #46

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

WIP: LIBUV progress #46

wants to merge 2 commits into from

Conversation

vchuravy
Copy link
Member

@vchuravy vchuravy commented Dec 6, 2021

No description provided.

@vchuravy
Copy link
Member Author

vchuravy commented Dec 6, 2021

The idea here is that we should use uv_async_send to notify an Base.AsyncCondition so that we could call progress on the Libuv threadpool.

@vchuravy
Copy link
Member Author

This should be fine for normal requests, but AMHandler pose a problem. LibUV will coalesce signals to the same handler http://docs.libuv.org/en/v1.x/async.html so with multiple invokes to the same AM handler we might miss invokes. We would need to manage our own queue

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

Successfully merging this pull request may close these issues.

1 participant