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 D53014AEA for ; Fri, 13 May 2011 14:53:14 +0000 (UTC) Received: (qmail 34052 invoked by uid 500); 13 May 2011 14:53:14 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 33985 invoked by uid 500); 13 May 2011 14:53:14 -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 Delivered-To: moderator for user@zookeeper.apache.org Received: (qmail 44953 invoked by uid 99); 13 May 2011 08:43:10 -0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Sebastian.Toader@morganstanley.com designates 205.228.53.73 as permitted sender) X-Anti-Virus: Kaspersky Anti-Virus for Linux Mail Server 5.6.44/RELEASE, bases: 20110513 #5389200, check: 20110513 clean From: "Toader, Sebastian" To: , , CC: "Csuka, Zsolt" , "Hejj, Botond" , "Keis, Andrei" , "Mekaraj, Prashant" Date: Fri, 13 May 2011 09:42:41 +0100 Subject: RE: ZK quota management Thread-Topic: ZK quota management thread-index: AcwQ13aFMVn+uRTpQwmzk5noSP6+DAAba8/AAADBEgAAAF61AA== Message-ID: References: <2BC67CC22BD6B048A12DD9C4D48EFDD70138DC16B1DB@LNWEXMBX0105.msad.ms.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US Content-Class: urn:content-classes:message Importance: normal Priority: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4841 X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-8.0.0.4177-6.500.1024-18132.005 X-TM-AS-Result: No--10.774500-8.000000-31 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No Hi all, We are using ZooKeeper internally and ran into same issue where we = wanted Quotas to impose hard restrictions. We needed this primarily to = protect ZooKeeper server against rogue client applications that may = cause Zk server to use up the allocated memory thus affecting other = clients as well. We've changed ZooKeeper's (version 3.3) code to impose hard = restrictions. Currently it's in testing. Once we are happy with how it = we are planning to push changes back so it will be available for others = as well. One thing to note our implementation is not configurable whether to = impose quota or just warn if quota exceeded, it always enforces quotas = if set on a znode. Best regards, Seb -----Original Message----- From: Mahadev Konar [mailto:mahadev@apache.org]=20 Sent: Friday, May 13, 2011 12:35 AM To: user@zookeeper.apache.org Subject: Re: ZK quota management The current quotas doesnt really impose hard restrictions on quota. It would be nice to change the quotas to impose that. This shouldnt be a big change but again given the Multitxn patch it might be a litte more complicated. thanks mahadev On Wed, Apr 27, 2011 at 2:13 PM, Fournier, Camille F. [Tech] wrote: > I was wondering if any of you used the Quotas feature in ZK in your = production systems. If so, do you find it useful? How does it affect = performance? > > Thanks, > Camille > > --=20 thanks mahadev @mahadevkonar -------------------------------------------------------------------------= - NOTICE: Morgan Stanley is not acting as a municipal advisor and the = opinions or views contained herein are not intended to be, and do not = constitute, advice within the meaning of Section 975 of the Dodd-Frank = Wall Street Reform and Consumer Protection Act. If you have received = this communication in error, please destroy all electronic and paper = copies and notify the sender immediately. Mistransmission is not = intended to waive confidentiality or privilege. Morgan Stanley reserves = the right, to the extent permitted under applicable law, to monitor = electronic communications. This message is subject to terms available at = the following link: http://www.morganstanley.com/disclaimers. If you = cannot access these links, please notify us by reply message and we will = send the contents to you. By messaging with Morgan Stanley you consent = to the foregoing.