[ 
https://issues.apache.org/jira/browse/RATIS-1373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17335102#comment-17335102
 ] 

runzhiwang commented on RATIS-1373:
-----------------------------------

[~szetszwo] hi, what do you think of this ?

> Use async model for StreamInfo#applyToRemotes
> ---------------------------------------------
>
>                 Key: RATIS-1373
>                 URL: https://issues.apache.org/jira/browse/RATIS-1373
>             Project: Ratis
>          Issue Type: Sub-task
>            Reporter: runzhiwang
>            Priority: Major
>
> We use StreamInfo#applyToRemotes to transfer data to to other server, and 
> eventually we call OrderedStreamAsync#sendRequest. So 
> StreamInfo#applyToRemotes finished after sending out request, but sometimes 
> OrderedStreamAsync#sendRequest costs hundred millseconds. So we need to make 
> StreamInfo#applyToRemotes async model, and also keep the order of request 
> belongs to the same stream. To achieve this, we can do like 
> StreamInfo#previos, but seems complicated.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to