concept KahaDB message store in category activemq

appears as: The KahaDB message store, KahaDB message store
ActiveMQ in Action

This is an excerpt from Manning's book ActiveMQ in Action.

The KahaDB message store is the fastest of all the provided message store implementations. Its speed is the result of the combination of a fast transactional journal comprised of data log files, the highly optimized indexing of message IDs, and in-memory message caching. Figure 5.3 provides a high-level diagram of the KahaDB message store.

Figure 5.3. In KahaDB messages are stored in indexed log files and cached for performance.

The diagram provides a view of the three distinct parts of the KahaDB message store including the following:

We’ll look at the use cases and configuration for these additional message stores in the next three sections. We’ll start with the AMQ message store, which like the KahaDB message store is a file-based implementation. It predates KahaDB, but because of its performance characteristics, it can make sense to use the AMQ store instead of KahaDB, provided the number of persistent destinations is relatively low.