zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Mollitor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-102) Need to replace Jute with supported code
Date Tue, 09 Apr 2019 12:59:00 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16813362#comment-16813362

David Mollitor commented on ZOOKEEPER-102:

[~maoling] Instead of sinking even more time into jute, may I recommend that ZK simply replace
the jute framework with something else?  Protobufs is perhaps the best replacement, but ZK,
being part of Apache, should probably use an Apache serialization library (eat Apache dog
food / drink Apache champagne).

* Apache Avro
* Apache Thrift
* Google Protobufs

I have recently put some of my own time into improving Avro and Thrift.  If you would like
to improve performance of serialization, best that everyone focuses their energy on these

> Need to replace Jute with supported code
> ----------------------------------------
>                 Key: ZOOKEEPER-102
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-102
>             Project: ZooKeeper
>          Issue Type: Improvement
>            Reporter: Benjamin Reed
>            Priority: Major
>             Fix For: 4.0.0
> ZooKeeper currently uses Jute to serialize objects to put on the wire and on disk. We
pulled Jute out of Hadoop and added a C binding. Both versions of Jute have evolved (although
Hadoop still doesn't have a C binding). It would be nice to use a more standard serialization
library. Some options include Thrift or Google's protocol buffers.
> Our main requirements would be Java and C bindings and good performance. (For example,
serializing to XML would give us incredibly bad performance and would not be acceptible!)

This message was sent by Atlassian JIRA

View raw message