CQRS Framework Axon 2 Features MongoDB Support and Performance Improvements

by Jan Stenberg on Mar 12, 2013 |

The latest version of CQRS framework Axon supports MongoEventStore, which uses MongoDB as a backing store, and comes with a simplified API and performance improvements. The recently released version 2.0 also lets event objects be based on POJOs and annotations to define messages, payload and metadata. Other features in the new version include:

  • A high performance command bus which, by processing commands in parallel using a lockless algorithm, is capable of handling four times more commands per time unit.
  • Logic to ensure serialization of an event is only made once and deserialization made only when the event is actually used.
  • Significantly faster in replaying of large number of events.
  • A distributed command bus allowing for horizontal scaling over several machines with the load adjusted for each machine.
  • Support for upcasting and demultiplexing of events, i.e. transforming old events into multiple new events after a new event structure is implemented.
  • AMQP can be used to distribute events.

The team also published a QuickStart Guide with the steps needed to build a simple system based on Axon and updated the Reference Guide to reflect the changes in the framework.

Axon Framework provides the building blocks for systems based on the CQRS and Event Sourcing architectural patterns, two patterns that are receiving an increasing interest. The Domain-Driven Design (DDD) community website, maintained by among others Eric Evans, author of the DDD reference book, specifically notes the importance:

“CQRS & Event Sourcing are two closely related architectural approaches to DDD and they are the hottest topics in DDD of the last couple of years.”

Axon Framework, founded by Allard Buijze, is an open source product, licensed under the Apache License, Version 2.0, with commercial support as an option.

A forum for Axon users is available with about 200 members and so far around 300 topics. A discussion about real world experiences reveals both positive and negative feedback on the framework.

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

General Feedback
Marketing and all content copyright © 2006-2016 C4Media Inc. hosted at Contegix, the best ISP we've ever worked with.
Privacy policy

We notice you're using an ad blocker

We understand why you use ad blockers. However to keep InfoQ free we need your support. InfoQ will not provide your data to third parties without individual opt-in consent. We only work with advertisers relevant to our readers. Please consider whitelisting us.