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

GuoHao commented on RATIS-1569:
-------------------------------

Hi, I have a new idea. What do you think  [~szetszwo] 
 # Call {{sendForward()}} asynchronously on stream init
 # On stream Close, get the result of {{sendForward()}}

In this way, sendForward() requests can be processed simultaneously during 
stream transmission, reducing latency and ensuring consistency

> Move the asyncRpcApi.sendForward(..) call to the client side.
> -------------------------------------------------------------
>
>                 Key: RATIS-1569
>                 URL: https://issues.apache.org/jira/browse/RATIS-1569
>             Project: Ratis
>          Issue Type: Sub-task
>          Components: Streaming
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> A potential performance improvement is to move the 
> asyncRpcApi.sendForward(..) call from the primary server to the client side.  
> We will test if it can really help.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to