Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-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 ACE889602 for ; Sat, 7 Jan 2012 02:51:32 +0000 (UTC) Received: (qmail 75924 invoked by uid 500); 7 Jan 2012 02:51:32 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 75575 invoked by uid 500); 7 Jan 2012 02:51:27 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 75566 invoked by uid 99); 7 Jan 2012 02:51:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jan 2012 02:51:25 +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 (athena.apache.org: domain of bpedman@gmail.com designates 74.125.82.42 as permitted sender) Received: from [74.125.82.42] (HELO mail-ww0-f42.google.com) (74.125.82.42) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jan 2012 02:51:19 +0000 Received: by wgbdt14 with SMTP id dt14so16008wgb.3 for ; Fri, 06 Jan 2012 18:50:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=202UhWsvGHcWrD2AE1Ws7FoPQ3wk1KIu9c4/OUex/rI=; b=wJhMPlfzutiA4q5WEXUBd8HkigVYedDE2I9OvzHFrYS5hzL/IGUuVgzUKQUfeeWR0G 8hQrVQc7lzlsLsiG9Z3TpmM9IfFLrJA2ULEPLKpmAEYEknoO1kqoY1XHheHqrYEfXXGt iOsGm8o0gPHi/eX6JeUxCifSr6KBwk95kfx10= MIME-Version: 1.0 Received: by 10.181.13.208 with SMTP id fa16mr11038907wid.12.1325904657777; Fri, 06 Jan 2012 18:50:57 -0800 (PST) Received: by 10.180.4.234 with HTTP; Fri, 6 Jan 2012 18:50:56 -0800 (PST) Received: by 10.180.4.234 with HTTP; Fri, 6 Jan 2012 18:50:56 -0800 (PST) In-Reply-To: References: Date: Fri, 6 Jan 2012 19:50:56 -0700 Message-ID: Subject: Re: DerbyDB vs BerkeleyDB using the Java Broker From: Brandon Pedersen To: users@qpid.apache.org Content-Type: multipart/alternative; boundary=f46d043c7de422025904b5e73c3e --f46d043c7de422025904b5e73c3e Content-Type: text/plain; charset=ISO-8859-1 On Jan 5, 2012 11:45 AM, "Rob Godfrey" wrote: > > On 4 January 2012 22:56, Rob Godfrey wrote: > > > In terms of BDB vs. Derby performance, I wouldn't be surprised if for a > > single producer / single consumer case the performance is very similar. As > > Robbie highlights, really the performance here is all to do with how often > > you can synchronously write to disk. If ach store is performing a single > > write to disk for each transactional commit, then the performance should be > > very smilar. > > > > > So, I actually spent a bit of time today testing this out :-) > > The use case that my users most often encounter with persistent messaging > is where each message sent/received from the broker is sent in its own > transaction (using JMS), and for the testing I have chosen a 1Kb message > size. > > The Derby store does indeed provide slightly superior performance if you > have eight or less active connections, but the BDB store scales better > above that number. For completeness I have also tested the C++ broker with > its async store, and another popular AMQP broker implementation > > You can see the results here: > > https://docs.google.com/spreadsheet/pub?hl=en_GB&hl=en_GB&key=0AqizD3Y_JixzdFhKZFctbzRWbWtMbE9CcnJzWjZMQVE&output=html# > > Note that other test scenarios (in particular not using transactions) would > likely give wildly different comparative performance, and message sizes may > also affect the results. Obviously people should always test on their own > hardware and with test cases reflecting their actual usage pattern. > > Cheers, > Rob --f46d043c7de422025904b5e73c3e--