Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1CCD5609F for ; Fri, 29 Jul 2011 17:15:10 +0000 (UTC) Received: (qmail 1770 invoked by uid 500); 29 Jul 2011 17:15:10 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 1700 invoked by uid 500); 29 Jul 2011 17:15:09 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 1692 invoked by uid 99); 29 Jul 2011 17:15:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jul 2011 17:15:08 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of chirino@gmail.com designates 209.85.212.43 as permitted sender) Received: from [209.85.212.43] (HELO mail-vw0-f43.google.com) (209.85.212.43) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jul 2011 17:15:03 +0000 Received: by vws10 with SMTP id 10so3790895vws.2 for ; Fri, 29 Jul 2011 10:14:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=BwYpIhmMBK2Q6asKucA5JsuYn4RgRBEmcQBqL3RfpSg=; b=omHMAlb3JAluTTlSJrkumQxSUoyQ2JDN4SxKZqF6R01gdU9uW1NIoDxgBDMhhXSRrt FR5GnV3vqSuGEfQl6aAwscIobJTSF3UzyTfK8RXtLxLjU9ze7uY/LJawfuxSFgvvQq9R v7/IoNrkdHkNFSCGBAuCUq/vE4A4KZIeRGado= MIME-Version: 1.0 Received: by 10.52.26.134 with SMTP id l6mr1574100vdg.487.1311959682067; Fri, 29 Jul 2011 10:14:42 -0700 (PDT) Sender: chirino@gmail.com Received: by 10.52.161.229 with HTTP; Fri, 29 Jul 2011 10:14:42 -0700 (PDT) In-Reply-To: <20110729073946.21ef.abe10f7e5afbbb3a79ce619739541149@cern.ch> References: <20110729073946.21ef.abe10f7e5afbbb3a79ce619739541149@cern.ch> Date: Fri, 29 Jul 2011 13:14:42 -0400 X-Google-Sender-Auth: rD4AWsG76fAbVPmo8HNdgMeSwVo Message-ID: Subject: Re: Per-destination queue quota From: Hiram Chirino To: Lionel Cons Cc: dev@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Yes, Please open up an issue for it. Regards, Hiram FuseSource Web: http://fusesource.com/ On Fri, Jul 29, 2011 at 1:50 AM, Lionel Cons wrote: > Hiram, > > We have to protect our brokers from misbehaving clients. The most > simple case is a consumer that does not consume the messages in its > queues (or durable subscriptions), wasting disk space, until it > affects other clients (disk/partition full). > > Message expiration does help but only really works with constant > message rates and sizes. > > It would be very good to have per-destinations quotas (at least using > a message count but a total message size would be useful too) and have > the broker deleting the oldest not yet consumed messages when needed. > This way, the queues with quotas would become some kind of rings, > using limited disk space. > > Do you think it's something Apollo could do? > > Cheers, > > Lionel >