You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Savva Kolbachev (JIRA)" <ji...@apache.org> on 2016/06/02 13:54:59 UTC

[jira] [Closed] (CAY-2083) Implement Protostuff as serialization service for Cayenne ROP

     [ https://issues.apache.org/jira/browse/CAY-2083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Savva Kolbachev closed CAY-2083.
--------------------------------
    Resolution: Done

> Implement Protostuff as serialization service for Cayenne ROP
> -------------------------------------------------------------
>
>                 Key: CAY-2083
>                 URL: https://issues.apache.org/jira/browse/CAY-2083
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: ROP
>            Reporter: Savva Kolbachev
>            Assignee: Savva Kolbachev
>             Fix For: 4.0.M4
>
>
> Source: http://www.protostuff.io/
> It based on protobuf but has some optimizations and some cool things like runtime serialization graph of objects (like Hessian). So we shouldn't define proto files although it might increase efficiency. And it work well with Java8 Date and Time types. It is also an alive project.
> Here is some benchmarks. Take a look at Full Object Graph Serializers section. 
> http://hperadin.github.io/jvm-serializers-report/report.html 
> https://github.com/eishay/jvm-serializers/wiki
> I've also forked one repo and added Hessian to comparison https://github.com/thinline72/protostuff-example 
> Here is my results: 
> Benchmark for 1000000 objects (includes both serialization and deserialization) 
> jdk : 3,428 s 
> jackson : 575,2 ms 
> fasterxml : 503,5 ms 
> protobuf : 257,9 ms 
> protostuff : 215,5 ms 
> kryo : 390,5 ms
> hessian : 3,234 s



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)