From dev-return-79990-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Tue Apr 9 11:53:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 955E0180629 for ; Tue, 9 Apr 2019 13:53:02 +0200 (CEST) Received: (qmail 71555 invoked by uid 500); 9 Apr 2019 11:33:24 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 71541 invoked by uid 99); 9 Apr 2019 11:33:24 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2019 11:33:24 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 00E6AE2A55 for ; Tue, 9 Apr 2019 11:53:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 5E4C324422 for ; Tue, 9 Apr 2019 11:53:00 +0000 (UTC) Date: Tue, 9 Apr 2019 11:53:00 +0000 (UTC) From: "maoling (JIRA)" To: dev@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ZOOKEEPER-102) Need to replace Jute with supported code MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ZOOKEEPER-102?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1= 6813299#comment-16813299 ]=20 maoling commented on ZOOKEEPER-102: ----------------------------------- Let me revisit this issue. I will test the lasted the protobuf=EF=BC=88[htt= ps://github.com/protocolbuffers/protobuf/releases/tag/v3.7.1)]=C2=A0=C2=A0t= o 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 experienc= e from other serialization assembly to improve the existing jute to close t= hem 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 in= clude 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 a= nd would not be acceptible!) -- This message was sent by Atlassian JIRA (v7.6.3#76005)