Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
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.
Attachments
Attachments
Issue Links
- relates to
-
HDDS-9369 Avoid deserializing OMRequest multiple times in OzoneManagerStateMachine
- Resolved
-
RATIS-1897 Make TransactionContext available in DataApi.write(..)
- Resolved
- requires
-
HDDS-9192 Update Ratis to 3.0.0
- Resolved
- links to