You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2021/04/29 06:17:00 UTC

[jira] [Assigned] (RATIS-1373) Use async model for StreamInfo#applyToRemotes

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

Tsz-wo Sze reassigned RATIS-1373:
---------------------------------

    Component/s: Streaming
                 server
       Assignee: runzhiwang

> Use async model for StreamInfo#applyToRemotes
> ---------------------------------------------
>
>                 Key: RATIS-1373
>                 URL: https://issues.apache.org/jira/browse/RATIS-1373
>             Project: Ratis
>          Issue Type: Sub-task
>          Components: server, Streaming
>            Reporter: runzhiwang
>            Assignee: runzhiwang
>            Priority: Major
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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. 



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