-
-
Notifications
You must be signed in to change notification settings - Fork 149
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
Asynchronous processing #16
Comments
Or maybe swagger can give this to us magically? |
@yuvipanda if I reall correctly you mentioned that there was an asyncio kubernetes library that was decent. Would you mind pointing out which one you meant here? (doing a web search turns up a couple) |
Never mind, on further investigation I see that @yuvipanda has been committing to https://github.com/olitheolix/aiokubernetes |
@mrocklin kubernetes-client/python#323 has discussion and links to two libraries. The one you linked to, and https://github.com/tomplus/kubernetes_asyncio. It's unclear which one to throw weight behind :) I like the design of https://github.com/olitheolix/aiokubernetes better though. the async= parameter in kubernetes API is pretty bad - it makes a new thread and returns it! I think it has been changed to making a new threadpool and returning a thread from it, but I wouldn't consider any of these good python practices. @minrk also has thoughts on this. |
The ThreadPool approach in kubernetes >=4 is the same as the one we use in kubespawner/binderhub ( |
Closed in #162 |
Woo!
…On Mon, Oct 14, 2019 at 5:21 AM Jacob Tomlinson ***@***.***> wrote:
Closed #16 <#16>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16?email_source=notifications&email_token=AACKZTFYFD6VJXXDVI35SLTQORB2TA5CNFSM4EKP5HLKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOUGC7ZQY#event-2709912771>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACKZTFEFJLUXJJR5ZEZ4MDQORB2TANCNFSM4EKP5HLA>
.
|
I notice that the kubernetes API has an
async=
keyword. Do you happen to know if people use this library with Tornado?Incidentally this library is new and pops up in web searches: https://github.com/kippandrew/client-python-tornado It's obviously very new though.
The text was updated successfully, but these errors were encountered: