Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 978A418B23 for ; Sun, 13 Sep 2015 16:57:41 +0000 (UTC) Received: (qmail 53819 invoked by uid 500); 13 Sep 2015 16:57:40 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 53764 invoked by uid 500); 13 Sep 2015 16:57:40 -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 53745 invoked by uid 99); 13 Sep 2015 16:57:40 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Sep 2015 16:57:40 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id E5C1AE8970 for ; Sun, 13 Sep 2015 16:57:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.88 X-Spam-Level: ** X-Spam-Status: No, score=2.88 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=tink.se Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id s4X4-n9hJhlF for ; Sun, 13 Sep 2015 16:57:29 +0000 (UTC) Received: from mail-yk0-f182.google.com (mail-yk0-f182.google.com [209.85.160.182]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 6A36E42B78 for ; Sun, 13 Sep 2015 16:57:29 +0000 (UTC) Received: by ykdu9 with SMTP id u9so134245418ykd.2 for ; Sun, 13 Sep 2015 09:57:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tink.se; s=tink; h=mime-version:from:date:message-id:subject:to:content-type; bh=J4dLPJqu/rDr9zT94cc5fjGKuq9M8pgi0QuaCwEESe0=; b=H0d6omxl860eE0SgOt5dsR1D8qWTIDL7MdbweaZtDSJz8vFGJnqganlpfO5NQhYslZ 8kgXU+mYgSecOb3GIzCuBo/QbzKpmHzshuQ+KO1Cm44YviqyQJUb5qtoaUOOEPyqdWBi 84dstsjPjOwLT6cl+xLnFa9R8b0xyHb/4iTdI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=J4dLPJqu/rDr9zT94cc5fjGKuq9M8pgi0QuaCwEESe0=; b=SPtVO8Gjn1LALJpYMAWAD9y+yZfNGhMoic/0ZgQCkN3BIlnwD++YKYnIWuE4IVHfc8 witaIUgsX51pRQMhkloe221Qx5aVOx9bkZm+MVxeac7WpdpqFYkGlhqKhkDyIoEMjfJm Hsj24N+5Ymjl6dlzJ0t7zcCM98MOixnObsFDF24WNSsS/dLgn3vGeAw8ElGpwiesXbVt ElZZU3EswFWxuoSOjgeEcszVnXMPAkDZKGyaLaOY4cRYA2cMa9EygTC2ehJvuuEGHPWG 4f1/Jk6wurWNcIY5v8EcbJkmVKCBv4RHnHUu/XROiAhSk5ZjnEwbX9OWXF747pGaj8e/ oD/g== X-Gm-Message-State: ALoCoQlzpNHStgovzTMhwKHLCWQr4QE7gV+2VO/Pu+vQqVZaQsLdBHBbeiPMxKr9TqDUXdQGsetk X-Received: by 10.13.242.194 with SMTP id b185mr9437342ywf.48.1442163448921; Sun, 13 Sep 2015 09:57:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.107.67 with HTTP; Sun, 13 Sep 2015 09:57:09 -0700 (PDT) From: Jens Rantil Date: Sun, 13 Sep 2015 18:57:09 +0200 Message-ID: Subject: Implications of increasing initLimit and syncLimit To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=94eb2c034da814ee9a051fa3d865 --94eb2c034da814ee9a051fa3d865 Content-Type: text/plain; charset=UTF-8 Hi, I've read [1] & [2] and am trying to understand initLimit and syncLimit configuration parameters a bit better. I have three specific questions I'd like to have answered better: - Is the syncLimit used when intializing a Zookeeper node? I mean, you could look at the node lagging behind another when initialization is taking too long. To me it seems like it would be useless to have a syncLimit smaller than initLimit, since that limit will kick in immediately after a long initialization has taken place. Am I right? - What are the implications of having a too large value of initLimit? - What are the implications of having a too large value of syncLimit? I have a Zookeeper ensemble with currently quite a lot of znodes and have currently increased these to initLimit=60 and syncLimit=30 (remaining parameters using default). Thanks, Jens [1] http://zookeeper.apache.org/doc/r3.1.2/zookeeperStarted.html [2] http://zookeeper.apache.org/doc/r3.1.2/zookeeperAdmin.html -- Jens Rantil Backend engineer Tink AB Email: jens.rantil@tink.se Phone: +46 708 84 18 32 Web: www.tink.se Facebook Linkedin Twitter --94eb2c034da814ee9a051fa3d865--