Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B809C1072D for ; Wed, 8 May 2013 00:23:14 +0000 (UTC) Received: (qmail 12773 invoked by uid 500); 8 May 2013 00:23:14 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 12720 invoked by uid 500); 8 May 2013 00:23:14 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 12711 invoked by uid 99); 8 May 2013 00:23:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 May 2013 00:23:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 May 2013 00:23:13 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id A325923888E4 for ; Wed, 8 May 2013 00:22:52 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r861254 - in /websites/production/activemq/content: cache/main.pageCache leveldb-store.html masterslave.html pure-master-slave.html replicated-leveldb-store.html shared-file-system-master-slave.html Date: Wed, 08 May 2013 00:22:52 -0000 To: commits@activemq.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130508002252.A325923888E4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Wed May 8 00:22:52 2013 New Revision: 861254 Log: Production update by buildbot for activemq Modified: websites/production/activemq/content/cache/main.pageCache websites/production/activemq/content/leveldb-store.html websites/production/activemq/content/masterslave.html websites/production/activemq/content/pure-master-slave.html websites/production/activemq/content/replicated-leveldb-store.html websites/production/activemq/content/shared-file-system-master-slave.html Modified: websites/production/activemq/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/activemq/content/leveldb-store.html ============================================================================== --- websites/production/activemq/content/leveldb-store.html (original) +++ websites/production/activemq/content/leveldb-store.html Wed May 8 00:22:52 2013 @@ -72,7 +72,8 @@
-
Version Compatibility
Available in ActiveMQ 5.8.0 and newer
+
Version Compatibility
+

Available in ActiveMQ 5.8.0 and newer

LevelDB is a file based persistence database that is local to the message broker that is using it.
It has been optimized to provide even faster persistence than KahaDB. It's similar to KahahDB but
@@ -112,6 +113,11 @@ stalls.

For tuning locking properties please take a look at Pluggable storage lockers

+ +

Also See

+ +
  • Replicated LevelDB Store An extended version of this store which self replicates to other broker nodes to increase message availability.
+
Modified: websites/production/activemq/content/masterslave.html ============================================================================== --- websites/production/activemq/content/masterslave.html (original) +++ websites/production/activemq/content/masterslave.html Wed May 8 00:22:52 2013 @@ -77,12 +77,12 @@

The following are the different kinds of Master/Slave configurations available:

-
Master Slave Type Requirements Pros Cons
Shared File System Master Slave A shared file system such as a SAN Run as many slaves as required. Automatic recovery of old masters Requires shared file system
JDBC Master Slave A Shared database Run as many slaves as required. Automatic recovery of old masters Requires a shared database. Also relatively slow as it cannot use the high performance journal
+
Master Slave Type Requirements Pros Cons
Shared File System Master Slave A shared file system such as a SAN Run as many slaves as required. Automatic recovery of old masters Requires shared file system
JDBC Master Slave A Shared database Run as many slaves as required. Automatic recovery of old masters Requires a shared database. Also relatively slow as it cannot use the high performance journal
Replicated LevelDB Store ZooKeeper Server Run as many slaves as required. Automatic recovery of old masters. Very fast. Requires a ZooKeeper server.
-

If you are using a shared network file system such as a SAN we recommend a Shared File System Master Slave. If you are happy to dispense with the high performance journal and are using pure JDBC as your persistence engine then you should use JDBC Master Slave instead.

+

If you are using a shared network file system such as a SAN we recommend a Shared File System Master Slave. If you are happy to dispense with the high performance journal and are using pure JDBC as your persistence engine then you should use JDBC Master Slave instead. For those willing to try out new tech, the Replicated LevelDB Store gives speeds similar to a SAN solution without the hassle of having to setup a highly available shared file system.

Modified: websites/production/activemq/content/pure-master-slave.html ============================================================================== --- websites/production/activemq/content/pure-master-slave.html (original) +++ websites/production/activemq/content/pure-master-slave.html Wed May 8 00:22:52 2013 @@ -74,7 +74,9 @@

Pure Master Slave

-
This feature has been deprecated and will be removed in version 5.8
This feature will be removed in 5.8 as it has not evolved to be production ready. You are advised to use shared storage master/slave. see AMQ-4165
+
This feature has been deprecated and will be removed in version 5.8
This feature will be removed in 5.8 as it has not evolved to be production ready.
+You are advised to use shared storage master/slave or the Replicated LevelDB Store.
+See AMQ-4165

A Pure Master Slave configuration provides a basic shared nothing, fully replicated topology which does not depend on a shared file system or shared database.

Modified: websites/production/activemq/content/replicated-leveldb-store.html ============================================================================== --- websites/production/activemq/content/replicated-leveldb-store.html (original) +++ websites/production/activemq/content/replicated-leveldb-store.html Wed May 8 00:22:52 2013 @@ -99,6 +99,21 @@ node with the lastest updates. The node it's recommend that you run with at least 3 replica nodes so that you can take one down without suffering
a service outage.

+

Deployment Tips

+ +

Clients should be using the Failover Transport to connect to the broker
+nodes in the replication cluster. e.g. using a URL something like the following:

+ +
+
+failover:(tcp://broker1:61616,tcp://broker2:61616,tcp://broker3:61616)
+
+
+ +

You should run at least 3 ZooKeeper server nodes so that the ZooKeeper service is highly available.
+Don't overcommit your ZooKeeper servers. An overworked ZooKeeper might start thinking live
+replication nodes have gone online due to delays in processing their 'keep-alive' messages.

+

Configuration

You can configure ActiveMQ to use LevelDB for its persistence adapter - like below :

Modified: websites/production/activemq/content/shared-file-system-master-slave.html ============================================================================== --- websites/production/activemq/content/shared-file-system-master-slave.html (original) +++ websites/production/activemq/content/shared-file-system-master-slave.html Wed May 8 00:22:52 2013 @@ -103,6 +103,14 @@ GFS: fully supports Cluster-wide flocks
     <persistenceAdapter>
+      <levelDB directory="/sharedFileSystem/sharedBrokerData"/>
+    </persistenceAdapter>
+
+
+

or:

+
+
+    <persistenceAdapter>
       <amqPersistenceAdapter directory="/sharedFileSystem/sharedBrokerData"/>
     </persistenceAdapter>