Ravi Prakash created HDFS-4498:
----------------------------------

             Summary: Investigate possible performance benefits by using 
protobuf option optimize_for = SPEED 
                 Key: HDFS-4498
                 URL: https://issues.apache.org/jira/browse/HDFS-4498
             Project: Hadoop HDFS
          Issue Type: Improvement
    Affects Versions: 3.0.0, 2.0.3-alpha, 0.23.6
            Reporter: Ravi Prakash


The default is to optimize for code size : 
https://groups.google.com/forum/?fromgroups=#!topic/protobuf/OtL7Bb4NiRI

Has anyone ever investigated how much effort protobuf de/serialization takes 
and whether it would make a difference if we used this option? In benchmarks, 
the options seems to make a huge difference:
http://www.eishay.com/2008/11/protobuf-with-option-optimize-for-speed.html
http://code.google.com/p/thrift-protobuf-compare/wiki/Benchmarking

I don't plan to take this up, so if anybody else does, please feel free

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to