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

How to use coroutines in grpc-python server #22463

Closed
mnff opened this issue Mar 24, 2020 · 2 comments
Closed

How to use coroutines in grpc-python server #22463

mnff opened this issue Mar 24, 2020 · 2 comments

Comments

@mnff
Copy link

mnff commented Mar 24, 2020

I want the request to execute in a coroutine in grpc-python server,what is the usual plan?gevent or others?

@lidizheng
Copy link
Contributor

As @yashykt mentioned #21716 (comment), GitHub is not the best place for questions. Please consider post questions on StackOverflow with "grpc" tag.

We are working on gRPC AsyncIO stack, and it is currently experimental. Here is the design proposal. We will update the documentation (https://grpc.github.io/grpc/python/grpc.html) once v1.28.0 is released.

Also, in our experimental folder, there is a init_gevent method to patch gRPC, but we do not recommend to use it. We hope the Python asynchronous libraries can converge to AsyncIO one day.

@mnff mnff closed this as completed Mar 25, 2020
@mnff
Copy link
Author

mnff commented Mar 25, 2020

@lidizheng I will attention the release, and post questions on StackOverflow next time, thank you!

@lock lock bot locked as resolved and limited conversation to collaborators Jun 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants