You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Jordan Zimmerman (Jira)" <ji...@apache.org> on 2020/01/17 01:19: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=17017618#comment-17017618 ] 

Jordan Zimmerman commented on ZOOKEEPER-102:
--------------------------------------------

I have some implementations ready for gRPC ZooKeeper. I've updated the doc with details here: https://docs.google.com/document/d/1wP61nCDeLLNPdXGxHxi_MIbt7c2pCl0ttm9KMjyOisQ/edit#
There are three branches:

* wip-jute-rpc-generate		Protobuf file generation - https://github.com/apache/zookeeper/compare/master...Randgalt:wip-jute-rpc-generate
* wip-jute-rpc-encapsulate	ByteBuffer encapsulation - https://github.com/Randgalt/zookeeper/compare/wip-jute-rpc-generate...wip-jute-rpc-encapsulate
* wip-jute-rpc-module		RPC service/server implementation - https://github.com/Randgalt/zookeeper/compare/wip-jute-rpc-encapsulate...wip-jute-rpc-module

> 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
>            Assignee: Jordan Zimmerman
>            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)