Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 91863 invoked from network); 29 May 2006 16:37:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 May 2006 16:37:20 -0000 Received: (qmail 99791 invoked by uid 500); 29 May 2006 16:37:19 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 99642 invoked by uid 500); 29 May 2006 16:37:19 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 99626 invoked by uid 99); 29 May 2006 16:37:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 May 2006 09:37:19 -0700 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of chirino@gmail.com designates 64.233.162.195 as permitted sender) Received: from [64.233.162.195] (HELO nz-out-0102.google.com) (64.233.162.195) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 May 2006 09:37:18 -0700 Received: by nz-out-0102.google.com with SMTP id j2so678689nzf for ; Mon, 29 May 2006 09:36:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Ch/9gaaExGEWj5UACg0A2YV4MopcQyvf566E0FXdJ0ezm6/mmssY+pDmzMLYPXrqi6afNtQ15ByLT3jWzkHF1BChwzSEzeUfOfRuZPGGKdvbTN0ONUtRjcHTz2EBphDPqQ+6DHqKQOjKUMpKvYS4/ASq2cN68TcbTgcKdLUCAxw= Received: by 10.65.51.14 with SMTP id d14mr1142648qbk; Mon, 29 May 2006 09:36:57 -0700 (PDT) Received: by 10.65.218.1 with HTTP; Mon, 29 May 2006 09:36:57 -0700 (PDT) Message-ID: Date: Mon, 29 May 2006 12:36:57 -0400 From: "Hiram Chirino" Sender: chirino@gmail.com To: activemq-users@geronimo.apache.org Subject: Re: Messages received in wrong order In-Reply-To: <447ACAEE.4040103@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <447ACAEE.4040103@web.de> X-Google-Sender-Auth: 9d6a80c6b6172b4b X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N The Attachment did not make it. Cou you open a JIRA and attach it at: http://issues.apache.org/activemq/browse/AMQ On 5/29/06, Dietrich Bollmann wrote: > Hi, > > Thinking about a switch to a different JMS provider we are currently > testing ActiveMQ. As the results of these tests might be interesting > also for other people, I am posting here a protocol of a small failing te= st: > > * Summary: > > Using a very simple producer and consumer (I appended the code to this > message) the messages are received in the wrong order. > > The following setting produced problems in 7 of 10 cases: > > - One broker > - Two producers sending 100000 messages each > - One consumer > - Broker, producers and consumer are all running on the same host. > > * Test protocol: > > Preparations: > > gunzip test.tar.gz > tar xvf test.tar > cd test > ant compile > > Start the broker: > > cd $ACTIVEMQ_HOME > bin/activemq > > Start the consumer: > > ant \ > -DconsumerName=3Dconsumer \ > -Durl=3Dtcp://localhost:61616 \ > -DproducerCount=3D2 \ > -DmessageCount=3D100000 \ > consumer > > Start the producers: > > ant \ > -DproducerName=3Dproducer1 \ > -Durl=3Dtcp://localhost:61616 \ > -DproducerCount=3D2 \ > -DmessageCount=3D100000 \ > producer > > ant \ > -DproducerName=3Dproducer2 \ > -Durl=3Dtcp://localhost:61616 \ > -DproducerCount=3D2 \ > -DmessageCount=3D100000 \ > producer > > * Results: > > Running the test 10 times the messages were received 3 times in the > right order and 7 times in a mixed up fashion: > > 1. Succesfully received all messages > 2. Wrong message order: Received message 33045 after message 33043 > from producer2 > 3. Wrong message order: Received message 97909 after message 97829 > from producer1 > 4. Wrong message order: Received message 67839 after message 67837 > from producer2 > 5. Wrong message order: Received message 63717 after message 63610 > from producer2 > 6. Succesfully received all messages > 7. Wrong message order: Received message 61603 after message 61576 > from producer2 > 8. Wrong message order: Received message 51119 after message 49043 > from producer2 > 9. Succesfully received all messages > 10. Wrong message order: Received message 99710 after message 99707 > from producer1 > > > Thanks > -- > Dietrich Bollmann > > --=20 Regards, Hiram