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 6502C10890 for ; Wed, 3 Dec 2014 06:27:45 +0000 (UTC) Received: (qmail 78864 invoked by uid 500); 3 Dec 2014 06:27:44 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 78818 invoked by uid 500); 3 Dec 2014 06:27:44 -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 78806 invoked by uid 99); 3 Dec 2014 06:27:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2014 06:27:44 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,SPF_SOFTFAIL,URI_HEX,URI_TRY_3LD X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of khandelwal.anuj90@gmail.com does not designate 162.253.133.43 as permitted sender) Received: from [162.253.133.43] (HELO mwork.nabble.com) (162.253.133.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2014 06:27:39 +0000 Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id 4483FC68062 for ; Tue, 2 Dec 2014 22:27:19 -0800 (PST) Date: Tue, 2 Dec 2014 22:19:43 -0800 (PST) From: khandelwalanuj To: users@activemq.apache.org Message-ID: <1417587583677-4688306.post@n4.nabble.com> Subject: [Kahadb vs Leveldb vs Replciated Leveldb] Performance Results MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I have done performance testing for kahadb, leveldb and replication leveldb. Details: *Scenario: * > ActiveMQ : 5.10 > Machine : Unix > I tested performance by sending messages to the broker continuously with > any sleep or wait on producer side and measure the throughput by messages > sent per seconds. The throughput increase initially but after some some it > becomes constant. Similarly consumer is also running and consuming the > messages. I also measure messages received per seconds. I can see that > after some time producer and consumer throughput becomes equal. And that > is what I consider as throughput. > I run each test mentioned below for ~2 hours. > I did all tests by sending persistence messages. *Results: * *LevelDB: * 1 producer 1 consumer: 0.48K/sec(Queue) || 0.64K/sec (Topic) 2 producer 1 consumer: 0.88K/sec(Queue) || 0.79K/sec (Topic) 1 producer 2 consumer: 0.48K/sec(Queue) || 0.64K/sec (Topic) *kahaDB: * 1 producer 1 consumer: 0.58K/sec(Queue) || 0.6K/sec (Topic) 2 producer 1 consumer: 0.6K/sec(Queue) || 0.6K/sec (Topic) *Replicated Leveldb: * 1 producer 1 consumer: 0.06K/sec(Queue) || 0.06K/sec (Topic) 2 producer 1 consumer: 0.07K/sec(Queue) || 0.06K/sec (Topic) 1 producer 2 consumer: 0.06K/sec(Queue) || 0.05K/sec (Topic) Questions: > Performance is same with kahadb and leveldb which is strange. Why kahadb > performance is now higher? Any particular configuration I need to tuneup ? > Does kahadb provides better performance with multiple producers and single > consumers ?(multiple writes) > Replicated leveldb performance is too low. Almost 10 times going down. Is > this expected ? Or I should tune some configurations to get better > performance? Also If there is any testing done by ActiveMQ developers, please point me to that. Thanks, Anuj -- View this message in context: http://activemq.2283324.n4.nabble.com/Kahadb-vs-Leveldb-vs-Replciated-Leveldb-Performance-Results-tp4688306.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.