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

[jira] [Assigned] (HDDS-9365) hsync] DataNode to deserialize Ratis transaction only once

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

Tsz-wo Sze reassigned HDDS-9365:
--------------------------------

    Assignee: Tsz-wo Sze

> hsync] DataNode to deserialize Ratis transaction only once
> ----------------------------------------------------------
>
>                 Key: HDDS-9365
>                 URL: https://issues.apache.org/jira/browse/HDDS-9365
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Wei-Chiu Chuang
>            Assignee: Tsz-wo Sze
>            Priority: Major
>         Attachments: Screen Shot 2023-09-28 at 1.46.42 PM.png, ozone_dn-weichiu-1.weichiu.root.hwx.site.html
>
>
> Today DataNode deserializes request proto at every callback method: applyTransaction, applyTransaction, writeTransaction, readTransaction.
>  
> For a transaction, the deserialzation happens more than 5 times (readTransaction happens twice for leader)
>  
> It's super expensive. We should deserialize only once during preAppendTransaction() which takes place in parallel.
>  
> TODO: I have a flame graph need to dig it up from my backlog.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org