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

Tsz-wo Sze updated RATIS-2165:
------------------------------
    Component/s: Linearizable Read

[~tohsakarin__], this is a good observation!  We may be able to improve the 
readIndex performance.

> Discussion on canceling transmission of RaftClientRequest. Message in 
> RaftServerImpl.sendReadIndexAsync to further optimize transmission efficiency
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RATIS-2165
>                 URL: https://issues.apache.org/jira/browse/RATIS-2165
>             Project: Ratis
>          Issue Type: Improvement
>          Components: Linearizable Read
>            Reporter: yuuka
>            Priority: Major
>         Attachments: image-2024-09-27-10-30-12-499.png, 
> image-2024-09-27-10-31-07-635.png, image-2024-09-27-10-31-17-774.png, 
> image-2024-09-27-10-31-21-531.png
>
>
> It seems that in RaftServerImpl.sendReadIndexAsync, we do not need to 
> serialize the message of the request, because we only use request.getClientId 
> ().
> !image-2024-09-27-10-31-17-774.png!
> !image-2024-09-27-10-31-21-531.png!
> For this situation, we can provide a setMessage interface that is set to null 
> every time sendReadAsync is called.
> Or we can regenerate a RaftClientRequest without Message.
>  
> Whether this has good returns can be further discussed



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

Reply via email to