[protobuf] Performance of java proto buffers

2010-08-19 Thread achintms
I have an application that is reading data from disk and is using proto buffers to create java objects. When doing performance analysis I was surprised to find out that most of the time was spent in and around proto buffers and not reading data from disk. On profiling further (using yourkit) I

Streaming different types of messages

2009-03-27 Thread achintms
If I understand correctly there is no good way to use proto buffers to stream different types of messages, right? For example if my stream has a mix of several messages of type m1 and m2, I will have to device a scheme outside of proto buffers to separate it into 2 streams and then pass it