Hello, 

We are using Python 3 to implement a HTTP server using asyncio, the HTTP 
server initiates a grpc.aio.UnaryUnaryCall to the backend to retrieve a 
(large) file. We notice these requests seems to be block other requests on 
the asyncio server.

How does grpc.aio.UnaryUnaryCall work underneath the covers? Does it yield 
to the event loop while reading data, in between every chunk of data? Do we 
have to use grpc.aio.UnaryStreamCall to read() and yield periodically?

Thanks

Note: I found another thread 
(https://groups.google.com/g/grpc-io/c/r7thQeaAYYI/m/2s8qad9ZBAAJ) but it 
doesn't fully answer my question.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/7d4d2d6c-cda7-491e-99a5-f64dbf0d4ce4n%40googlegroups.com.

Reply via email to