I'm a bit embarrassed :)
The protobuf version of my code uses about 950MB of memory (the Java
Serializable version is only using around 650MB) and I had the java -
Xmx flag set too low; in reality protobuf is extremely fast compared
to Java Serializable:
Java Serializable:
12,000 msgs/sec
Thanks for the info. I thought the Java serialization metadata would
have been large compared to the relevant data, but I guess not!
On Oct 29, 5:42 pm, Kenton Varda ken...@google.com wrote:
It sounds plausible. There's no fundamental reason why protocol buffers
should be faster than Java