Return-Path: X-Original-To: apmail-curator-user-archive@minotaur.apache.org Delivered-To: apmail-curator-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4001D10902 for ; Sun, 24 Nov 2013 18:41:08 +0000 (UTC) Received: (qmail 24446 invoked by uid 500); 24 Nov 2013 18:41:08 -0000 Delivered-To: apmail-curator-user-archive@curator.apache.org Received: (qmail 24413 invoked by uid 500); 24 Nov 2013 18:41:08 -0000 Mailing-List: contact user-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@curator.apache.org Delivered-To: mailing list user@curator.apache.org Received: (qmail 24400 invoked by uid 99); 24 Nov 2013 18:41:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Nov 2013 18:41:08 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bs4mailinglist@gmail.com designates 209.85.215.175 as permitted sender) Received: from [209.85.215.175] (HELO mail-ea0-f175.google.com) (209.85.215.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Nov 2013 18:41:01 +0000 Received: by mail-ea0-f175.google.com with SMTP id z10so1869986ead.6 for ; Sun, 24 Nov 2013 10:40:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Afe/RoJ9MDaWiKFk5zzddo5iT/m8iuBhP7q1GQolfmE=; b=bcBkf77kaB9JUY4UIoJ+EKepy01cZptKtuzGHXPnrVn4LsPxWi+LiFO9tqKcbAFeio ID9/l4d6SkSJ7APYJq1KmX+wqnbT7eYYLiijcObn3Lr5W8pbplNyzL5ow3E7OIW8WQV0 CwfQiwslQfY0TLZXBBcHPrbOJpFLxRpRk2WOwQhumIP7nCBdrsqEQgM4GmUYRcTXyiFI cycauNyWuk97X9BZrNJ8RQVyubMEzTEhTfVvFL+ZNJr8Z93JeNAQzcjEgz8YRs3zFARu S2tInxtdrQBbhvLaiZ4zmfjSLLAGVuJk3/Yd5AwV90k+tZYgYYmSt9OSrYe/5hlb5CxW e+3w== MIME-Version: 1.0 X-Received: by 10.15.49.195 with SMTP id j43mr3586253eew.40.1385318441031; Sun, 24 Nov 2013 10:40:41 -0800 (PST) Received: by 10.14.75.199 with HTTP; Sun, 24 Nov 2013 10:40:40 -0800 (PST) In-Reply-To: References: Date: Sun, 24 Nov 2013 20:40:40 +0200 Message-ID: Subject: Re: Multiples queue consumers in a quorum reduces the throughput From: Sznajder ForMailingList To: "user@curator.incubator.apache.org" Content-Type: multipart/alternative; boundary=001a11c34080941dc104ebf0950b X-Virus-Checked: Checked by ClamAV on apache.org --001a11c34080941dc104ebf0950b Content-Type: text/plain; charset=ISO-8859-1 Please ignore this duplicate mail Benjamin On Sun, Nov 24, 2013 at 6:51 PM, Sznajder ForMailingList < bs4mailinglist@gmail.com> wrote: > Hi > > A parallel problem to the problem I described earlier in this list is a > following: > > The parameters are still the same: > > - I have a producer who produces items in the queue (integer). The > producer adds some items when the queue is half of its initial size. > > - The consumer just picks the item and write to a log file and goes to > sleep a while... > > > When I define a chorum of 2 machines - One producer, and one consumer, I > consume 1320 items in 5 minutes. > > When I define a quorum of 3 machines - One producer and two consumers, I > consume 2693 items in 5 minutes (expected!) > > When I define a quorum of 4 machines - One producer and three consumers, I > suddenly, consume only 1975 items in 5 minutes!! (Even less than the > precedent configuration!!) > > I would thank you for your help/. This issue is relatively urgent for me.. > > Best regards > Benjamin > --001a11c34080941dc104ebf0950b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Please ignore this duplicate mail

Benjam= in


O= n Sun, Nov 24, 2013 at 6:51 PM, Sznajder ForMailingList &= lt;bs4mailing= list@gmail.com> wrote:
Hi

A parallel problem to the problem I described earlier in= this list is a following:

The parameters are still the same:

- I have a produc= er who produces items in the queue (integer). The producer adds some items = when the queue is half of its initial size.

- The consumer just picks the item and write to a log file and go= es to sleep a while...


When I define a chorum of 2 machine= s - One producer, and one consumer, I consume 1320 items in 5 minutes.

When I define a quorum of 3 machines - One producer and two consu= mers, I consume 2693 items in 5 minutes (expected!)

When I define a = quorum of 4 machines - One producer and three consumers, I suddenly, consum= e only 1975 items in 5 minutes!! (Even less than the precedent configuratio= n!!)

I would thank you for your help/. This issue is relatively urgent for m= e..

Best regards
Benjamin

--001a11c34080941dc104ebf0950b--