From notifications-return-138-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Thu Jun 6 21:23:54 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 5FF0E18062B for ; Thu, 6 Jun 2019 23:23:54 +0200 (CEST) Received: (qmail 45474 invoked by uid 500); 6 Jun 2019 21:23:53 -0000 Mailing-List: contact notifications-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 notifications@zookeeper.apache.org Received: (qmail 45465 invoked by uid 99); 6 Jun 2019 21:23:53 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jun 2019 21:23:53 +0000 From: GitBox To: notifications@zookeeper.apache.org Subject: [GitHub] [zookeeper] hanm opened a new pull request #971: ZOOKEEPER-3418: Improve quorum throughput through eager ACL checks of requests on local servers. Message-ID: <155985623365.16652.1639574378077600592.gitbox@gitbox.apache.org> Date: Thu, 06 Jun 2019 21:23:53 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit hanm opened a new pull request #971: ZOOKEEPER-3418: Improve quorum throughput through eager ACL checks of requests on local servers. URL: https://github.com/apache/zookeeper/pull/971 Serving write requests that change the state of the system requires quorum operations, and in some cases, the quorum operations can be avoided if the requests are doomed to fail. ACL check failure is such a case. To optimize for this case, we elevate the ACL check logic and perform eager ACL check on local server (where the requests are received), and fail fast, before sending the requests to leader. As with any features, there is a feature flag that can control this feature on, or off (default). This feature is also forward compatible in that for new any new Op code (and some existing Op code we did not explicit check against), they will pass the check and (potentially) fail on leader side, instead of being prematurely filtered out on local server. The end result is better throughput and stability of the quorum for certain workloads. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services