PlatformLab / grpc_homa

Allows Homa to be used as a transport with gRPC.
25 stars 5 forks source link

About long grpc request/reply message? #1

Open yuyuyu101 opened 2 years ago

yuyuyu101 commented 2 years ago

GRPC Message input size can be larger than 4MB, output size is unlimited, but homa message must smaller than 1MB. So grpc req msg will de divide into multi homa messages. I found the code assumes only one homa message transfer is allowed, but I don't notice any code to prevent. Is it possible homa_client call multi homa_sendv on single steam?

The same as homa_listener, if listener receive request, it may have unlimited data to reply. But after calling homa_replyv(), homaRequestId will be assign be 0. So the next HomaSteam::flush won't call homa_reply(). Is there anything missing?