[ 
https://issues.apache.org/jira/browse/HDDS-14034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz-wo Sze updated HDDS-14034:
------------------------------
    Description: 
In gRPC, it is better to check isRead() before calling onNext(..) to send a 
large response.  Otherwise, gRPC will use a lot of memory to queue up the 
responses.

gRPC Wait-for-Ready: https://grpc.io/docs/guides/wait-for-ready/

  was:In gRPC, it is better to check isRead() before calling onNext(..) to send 
a large response.  Otherwise, gRPC will use a lot of memory to queue up the 
responses.


> StreamRead should check isReady() before sending response
> ---------------------------------------------------------
>
>                 Key: HDDS-14034
>                 URL: https://issues.apache.org/jira/browse/HDDS-14034
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: Ozone Datanode
>            Reporter: Tsz-wo Sze
>            Assignee: Stephen O'Donnell
>            Priority: Major
>
> In gRPC, it is better to check isRead() before calling onNext(..) to send a 
> large response.  Otherwise, gRPC will use a lot of memory to queue up the 
> responses.
> gRPC Wait-for-Ready: https://grpc.io/docs/guides/wait-for-ready/



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to