cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aristedes Maniatis <>
Subject Re: Cayenne ROP Improvements
Date Thu, 05 May 2016 10:44:49 GMT
On 5/05/2016 7:35pm, Savva Kolbachev wrote:
> Protostuff (licensed under Apache 2.0 licence) is based on Google's
> Protocol-Buffers (Protobuf) but has some optimizations and some cool things
> like runtime serialization graph of objects (like Hessian). It also could
> generate schema on runtime so we shouldn't define .proto files although it
> might increase efficiency. It works faster than Hessian and could handle
> Java8 Date and Time types. Here is some benchmarks. Take a look at Full
> Object Graph Serializers section.

According to those benchmarks there appears to be no performance or size penalty to using
protostuff over protobuffers. Am I reading that right?

I don't really understand... doesn't the serialiser have to construct a .proto definition
and then include it in the message? So shouldn't it be faster/smaller to predefine these?

If we did, we could create them with velocity in the same way we create Java _superclasses
today. Fairly trivial I'm guessing.


Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

View raw message