Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DD6EA106AC for ; Tue, 7 Jan 2014 23:04:46 +0000 (UTC) Received: (qmail 65450 invoked by uid 500); 7 Jan 2014 23:04:46 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 65417 invoked by uid 500); 7 Jan 2014 23:04:46 -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 65409 invoked by uid 99); 7 Jan 2014 23:04:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jan 2014 23:04:46 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jan 2014 23:04:40 +0000 Received: from joe.nabble.com ([192.168.236.139]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1W0fh5-0007dh-EO for users@activemq.apache.org; Tue, 07 Jan 2014 15:04:19 -0800 Date: Tue, 7 Jan 2014 15:04:19 -0800 (PST) From: uromahn To: users@activemq.apache.org Message-ID: <1389135859436-4676090.post@n4.nabble.com> In-Reply-To: <1388891353027-4676012.post@n4.nabble.com> References: <1388794098280-4676001.post@n4.nabble.com> <1388891353027-4676012.post@n4.nabble.com> Subject: Re: Interesting Persistent Messaging Performance MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org The AMQP client does not use asynchronous communication with the server. This is embedded in the AMQP protocol, so the client sends the message and the call to "send(msg)" only returns after the client received an ack confirmation from the broker via the protocol. What I don't know, however, is how the AMQP protocol connector within ActiveMQ works. It could be that the connector confirms the message before it actually got committed to the persistent store and hence the significant different performance numbers. The best way to test this would be to send a large number of messages to the broker, then kill the broker process and compare the number of sent messages on the client with the number of messages enqueued on the broker. If there is a difference (i.e. less messages on the broker), then we lost some messages and the guarantee is violated. This would then be a clear bug in the AMQP connector within ActiveMQ. You may hear from me back on the result of my test. -- View this message in context: http://activemq.2283324.n4.nabble.com/Interesting-Persistent-Messaging-Performance-tp4676001p4676090.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.