Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4DEFD200C7D for ; Tue, 16 May 2017 21:52:29 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4C704160BC1; Tue, 16 May 2017 19:52:29 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 937C4160BA6 for ; Tue, 16 May 2017 21:52:28 +0200 (CEST) Received: (qmail 32347 invoked by uid 500); 16 May 2017 19:52:27 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 32333 invoked by uid 99); 16 May 2017 19:52:27 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2017 19:52:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id DA0C31813F6 for ; Tue, 16 May 2017 19:52:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.397 X-Spam-Level: X-Spam-Status: No, score=-0.397 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id aGBPZY4JaoUv for ; Tue, 16 May 2017 19:52:24 +0000 (UTC) Received: from mail-wr0-f177.google.com (mail-wr0-f177.google.com [209.85.128.177]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 498DC5F666 for ; Tue, 16 May 2017 19:52:24 +0000 (UTC) Received: by mail-wr0-f177.google.com with SMTP id w50so82955902wrc.0 for ; Tue, 16 May 2017 12:52:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=FsN1S9BDhM0mUdQB9whQ4EjP6LUggLuxlQjDVeAsnz8=; b=Z9yJy9tBUppBMGTQ90dUzrepvoHos/6gNI9CUB3EkdFuPXYqr9HyuwSqtxQ47pj/D0 40l4zJdrzIqD6oaVFhfug9KStHQor0v0bn/nyR1r7wZI+TqW+JVG3JjprTLfRjQREXU5 2Tw+Yq+iQxs1m9G2wz9d8kQ0Pk2XrKctmmvtCyxGJXUfvPMvyhyNhyHQdzkfyupCAgZp u6VpXM+v9BVa443wvTdl45t0POnj59sj3sxkZQXLPzofPRExiR+c4GsuOQO8hpcyFM4a BrOWyyNsRswTP6O3ur5auGruIa5BKiWQhvrwl8IPJFFiGOjvud1iF3RuD3CQD+fPeGUd YRcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=FsN1S9BDhM0mUdQB9whQ4EjP6LUggLuxlQjDVeAsnz8=; b=fXOooRCIvUBNkyCNEgrzjtgChqAgm1QmBQ4H9U6p6g0+b8l2Yh0vfgiStyT4+5Yg3q ccSpuGlvIQdnNQLvo+A2NhNMM5QoNj2VztxbzXvtPOV5uAeXlYuV5OEtvO4fkRnZVfQ8 h3crIltye77JOsld+SR7bkGABh2m6R72jtE6K58bWorViJOFJ4YxlYlFrT36MrBureKi fZpksu8i31W37sRUc4LrPnpayRAPRvcFJo96s3JRYGbwLxQWrsZfSGYOUidNZIODHQZY q0eN3zaIA6k+zbbUMb1iDFYgoxOm6MhNB3TttkXD/ihBiDWXtkwUOJjguDLk5pNTsoAi XPHg== X-Gm-Message-State: AODbwcCGEWYG80J4HP546iQgeiPehXhfzkJOlOei0MOQePMs+bnBfWRx ETw/OQGuQo77udNvSxCr+4uBzuPoCA== X-Received: by 10.223.176.83 with SMTP id g19mr8384491wra.12.1494964343895; Tue, 16 May 2017 12:52:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.56.131 with HTTP; Tue, 16 May 2017 12:52:23 -0700 (PDT) From: Jun Rao Date: Tue, 16 May 2017 12:52:23 -0700 Message-ID: Subject: bound client memory size using async api To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary="001a1147dba6ab7d27054fa982de" archived-at: Tue, 16 May 2017 19:52:29 -0000 --001a1147dba6ab7d27054fa982de Content-Type: text/plain; charset="UTF-8" Hi, Is there a way to bound the number of outstanding requests when using the async api? Currently, it seems that a client can run out of memory if it sends async requests too quickly. Thanks, Jun --001a1147dba6ab7d27054fa982de--