--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAAvp3oNpg%2ByVCdAJFfcg8s_gUvotdPB4nzV0H8%2BA87wkPjkVzw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAE-QhELXVwEAtK%2BiM5Yywx-uk6vC5pjN5Ow1tMWxU2KxMrkZ2g%40mail.gmail.com.
I suppose what you said is about sync server only. What about Async server threading model? Do we need to have our own thread pool when we use Async server? If so, is there an example we can follow?
The helloworld greeter_async_server example is single threaded, and when I added multi-threads to handle cq, it doesn't work some times (hitting server.cc:442 assertion error with GRPC_CALL_ERROR_TOO_MANY_OPERATIONS).
One of the huge advantages is that you can isolate work, so that different threads don't interfere with each other (this is huge for performance).
Does the same threading model apply across all supported gRPC supported languages (i.e. Python)?
[...]
Can anyone expound upon the threading model for Python?