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

Ivan Andika updated RATIS-2132:
-------------------------------
    Fix Version/s: 3.1.1

> Revert RATIS-2099 due to its performance regression
> ---------------------------------------------------
>
>                 Key: RATIS-2132
>                 URL: https://issues.apache.org/jira/browse/RATIS-2132
>             Project: Ratis
>          Issue Type: Sub-task
>            Reporter: Duong
>            Assignee: Duong
>            Priority: Major
>             Fix For: 3.1.1
>
>         Attachments: Screenshot 2024-07-29 at 5.07.32 PM.png
>
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> This commit creates a significant extra cost in the critical path (which is 
> run sequentially) of Ratis appendTransaction. 
> !Screenshot 2024-07-29 at 5.07.32 PM.png|width=981,height=479!
> This seems to be a premature optimization. One or two instances of TermIndex 
> per request are basically nothing (unless we create hundreds/thousands of 
> them per request).   Short-lived POJO like this are the best to be dealt with 
> by java GC/heap.
> More details are the parent Jira RATIS-2129.



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

Reply via email to