layout: default_md title: MasterSlave title-class: page-title-activemq5 type: activemq5

Features > Clustering > MasterSlave

Introduction to Master / Slave

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

Master Slave TypeRequirementsProsCons
Shared File System Master SlaveA shared file system such as a SANRun as many slaves as required. Automatic recovery of old mastersRequires shared file system
JDBC Master SlaveA Shared databaseRun as many slaves as required. Automatic recovery of old mastersRequires a shared database. Also relatively slow as it cannot use the high performance journal

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.