You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "wujimin (JIRA)" <ji...@apache.org> on 2018/08/15 04:51:00 UTC

[jira] [Created] (SCB-842) jackson protobuf serializer have performance problem

wujimin created SCB-842:
---------------------------

             Summary: jackson protobuf serializer have performance problem
                 Key: SCB-842
                 URL: https://issues.apache.org/jira/browse/SCB-842
             Project: Apache ServiceComb
          Issue Type: Sub-task
          Components: Java-Chassis
            Reporter: wujimin
            Assignee: wujimin


for length prefix data, always write data to temp buffer, and then copy to main buffer

that's caused by protobuf dynamic length number feature.

 

in fact, dynamic length number can reduce serialize result size, but make serialize logic too slow.

we can try to change prefix length to fix length number, and test the whole performance

if have a good result, we need to refactor ProtobufGenerator



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)