You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Zili Chen (Jira)" <ji...@apache.org> on 2019/10/09 08:32:00 UTC
[jira] [Commented] (ZOOKEEPER-102) Need to replace Jute with
supported code
[ https://issues.apache.org/jira/browse/ZOOKEEPER-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16947447#comment-16947447 ]
Zili Chen commented on ZOOKEEPER-102:
-------------------------------------
[~maoling] Thanks for your information.
One important question I have to throw here is that, if we JUST replace jute with protobuf or sth., it is an important question that whether we couple the effort with an implementation on C client part.
Indeed, we have nearly to rewrite c client wrt the replacement IMO.
> 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
(v8.3.4#803005)