From issues-return-542-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Thu Aug 1 21:56: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 A1C27180644 for ; Thu, 1 Aug 2019 23:56:02 +0200 (CEST) Received: (qmail 87731 invoked by uid 500); 1 Aug 2019 21:56:01 -0000 Mailing-List: contact issues-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 issues@zookeeper.apache.org Received: (qmail 87666 invoked by uid 99); 1 Aug 2019 21:56:01 -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; Thu, 01 Aug 2019 21:56:01 +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 C5706E2F9D for ; Thu, 1 Aug 2019 21:56:00 +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 2574526645 for ; Thu, 1 Aug 2019 21:56:00 +0000 (UTC) Date: Thu, 1 Aug 2019 21:56:00 +0000 (UTC) From: "Yisong Yue (JIRA)" To: issues@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ZOOKEEPER-3484) Improve the throughput by optimizing the synchronization around outstandingChanges MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Yisong Yue created ZOOKEEPER-3484: ------------------------------------- Summary: Improve the throughput by optimizing the synchronizat= ion around outstandingChanges Key: ZOOKEEPER-3484 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3484 Project: ZooKeeper Issue Type: Improvement Reporter: Yisong Yue Assignee: Yisong Yue Fix For: 3.6.0 The "processTxn(Request request)" function in ZooKeeperServer.java ("entry = point for FinalRequestProcessor.java") is synchronized around `outstandingC= hanges`=C2=A0for all requests now. However, this synchronization is unneces= sary for read requests, and skipping such synchronization for reads can imp= rove the overall throughput of the request processor pipeline. -- This message was sent by Atlassian JIRA (v7.6.14#76016)