Status: New
Owner: liuj...@google.com
Labels: Type-Defect Priority-Medium

New issue 364 by dernashe...@gmail.com: Make static serialization and deserialization of messages in java
http://code.google.com/p/protobuf/issues/detail?id=364

The problem:
 * during serialization/deserialization a lot of unnecessary objects created
* a lot of garbage affects application performance. Also it causes performance spikes which are critical to low latency messaging applications

The solution:
 * add option to generate POJO and/or interfaces for protobuf messages.
 * make XXXSerializer/XXXDeserializer static
 * make methods in CodedInputStream/CodedOutputStream static

As proof of concept I implemented full featured solution:
http://code.google.com/p/protobuf-gcless/

In tests it gives significant improvements in latency for serialization to stream and huge improvements in consumed memory while serializing/deserializing.



--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to