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 E7573200C77 for ; Mon, 1 May 2017 23:04:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E5F58160BAE; Mon, 1 May 2017 21:04:12 +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 3957A160BA0 for ; Mon, 1 May 2017 23:04:12 +0200 (CEST) Received: (qmail 10715 invoked by uid 500); 1 May 2017 21:04:11 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 10703 invoked by uid 99); 1 May 2017 21:04:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 May 2017 21:04:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 5D505C01DB for ; Mon, 1 May 2017 21:04:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id n9craDS7CCEK for ; Mon, 1 May 2017 21:04:09 +0000 (UTC) Received: from mail-qk0-f170.google.com (mail-qk0-f170.google.com [209.85.220.170]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 6A3835F642 for ; Mon, 1 May 2017 21:04:09 +0000 (UTC) Received: by mail-qk0-f170.google.com with SMTP id r189so1892873qkf.1 for ; Mon, 01 May 2017 14:04:09 -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=fw4nAcQSDceXXeHWSmAtdowz3Z8GXBDuv/dZooxAjco=; b=fe9xCEOIm94iHaZmEGjaOP+iofL7QShs4GdMED8uAq9WC0iT1Sr0nvBrizHGSnPKIP cjFP/qy9tJKHvrwhyoEJfWyae6unGMsV7SwORKLsk58Xkq8YCcTQalisee3SeoVl6+UB 5C5LcEgf+Ma8+VmFM4No+KNXdo8zUfMmYjTVEB51dqw+a7+Fi+y4acSYBFfUBZ8L2R3R 6f684JzmK0klrIxxYr9DR5PkiZb4jibTNCKGM246zEC1FzYt4MxYwuam7tBlsgpB4+kQ jpFkO+RkAiyEGl3oKBoAMv3axa3JWxLl7AqjVRW5IzCoN1h3OWtCUTx5Mser7qt7MDM6 ZoaA== 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=fw4nAcQSDceXXeHWSmAtdowz3Z8GXBDuv/dZooxAjco=; b=HO9qjkMAX/q8xhdtm5AP/f2jVEPIMLKtcWnePbyvlRhajvSujQEuVhggwG9o/mThfN 4C1EcjR8u9d88iZhzGMKrFVJK9h9SbDnThGa83z4zQHBtzSUZujoAkfVA3qTBed9xchH 9SGKL+HmdCcIoI87BPfqEUMlf9wUOTTK4+NwjetJQS1tsvhc4iAIgC2NCwVLZ6ZKdqjO 3wDPPQuKVigsAM7ec0Vs51vmLHPoqV0jr4ffudF5f05ALm1Z8UgzS2LI40d5WBV11ieH n8IAFFTKOCOyJxQqfy9Y+qVNtSCE2p6dxvAiLPlgPoOxHS54Z+TyOeD1CupQPTN6PfTO RrnA== X-Gm-Message-State: AN3rC/4NBi1duSExFlckAc5uhSU+UmsYglr/zFuOpYsB+hE+r3AHGW1Q Kdp0Op1F/Ljaof1il7ieOvbtJLFo7ltI X-Received: by 10.55.188.65 with SMTP id m62mr21231421qkf.259.1493672648758; Mon, 01 May 2017 14:04:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.134.4 with HTTP; Mon, 1 May 2017 14:04:08 -0700 (PDT) From: Victor Date: Mon, 1 May 2017 14:04:08 -0700 Message-ID: Subject: Ring buffer with Artemis: paging mode To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=94eb2c048d20a3db73054e7cc34e archived-at: Mon, 01 May 2017 21:04:13 -0000 --94eb2c048d20a3db73054e7cc34e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi all, I have been considering to implement something similar to a ring buffer with artemis to deliver server metrics to a number of backends: I was hoping to be able to: - have a topic =E2=88=9A - limit paging with a max disk usage =E2=88=9A - drop messages when the disk page limit is reached ? - higher priority for metric messages coming from the serves where the brokers run =E2=88=9A Doing a quick review and google search I can't find other people having similar experiences. I also find that I can only drop messages the memory limit is reached, not the disk limit. Any ideas? --94eb2c048d20a3db73054e7cc34e--