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

Tsz-wo Sze commented on RATIS-708:
----------------------------------

This seems not a Ratis problem.  ClientProtoUtils.toRaftClientRequestProto(..) 
takes <1ms on average in my tests.
{code}
messageSize=16MB (=16777216), n=100
toProto  : avg = 0.029ms (total = 2.861ms)
toRequest: avg = 0.025ms (total = 2.457ms)
{code}


> ClientProtoUtils#toRaftClientRequestProto for Ozone takes close to 36ms
> -----------------------------------------------------------------------
>
>                 Key: RATIS-708
>                 URL: https://issues.apache.org/jira/browse/RATIS-708
>             Project: Ratis
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.4.0
>            Reporter: Mukul Kumar Singh
>            Assignee: Tsz-wo Sze
>            Priority: Major
>
> ClientProtoUtils#toRaftClientRequestProto in the profiling is taking a lot of 
> time to process.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to