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
I'm looking to get sense if my experience sounds reasonable or if it
sounds like I'm doing something very wrong, any insight appreciated!
I have a Serializable Java object containing:
4 integers
3 bytes
2 Strings
1 short
1 double
I have a vector of about 10M objects I am sending from a server
this by assuming that the receiver already knows the type
information. But when sending a giant homogeneous array of simple objects,
the metadata overhead ends up small.
On Thu, Oct 29, 2009 at 1:45 PM, jta23 jonathanhalc...@gmail.com wrote:
I'm looking to get sense if my experience sounds reasonable