zookeeper-dev mailing list archives

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

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

maoling commented on ZOOKEEPER-102:
-----------------------------------

Let me revisit this issue. I will test the lasted the protobuf([https://github.com/protocolbuffers/protobuf/releases/tag/v3.7.1)]  to
see how big is the gap.
e.g pick one api(getData()) to change to protobuf to test.
After testing,if the perfermance gap is obvious,we can absorb the experience from other serialization
assembly to improve the existing jute to close them up.

> 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
(v7.6.3#76005)

Mime
View raw message