Hello Maarten,

It's interesting to learn that protobuf is faster than plain old java serialization. Thanks.

How about the size of the stored data? How many bytes does a logging event use on average?

Maarten Bosteels wrote:
Hi,

No objections at all.

Looking at my .proto file it's indeed pretty obvious that CallerData and StackTraceElement are quite similar :-)
http://code.google.com/p/firewood/source/browse/trunk/compare-formats/src/main/java/com/googlecode/firewood/protobuf/logging.proto

I've done some benchmarking with protobuf (using the Corpus), and it seems to be at least 4 times faster than Java serialization.
Will soon post the results and the code.

regards,
Maarten


--
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev

Reply via email to