Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Demystifying Event Processing in Axon Framework

Demystifying Event Processing in Axon Framework

In Axon applications, Event Handlers define the business logic to be performed when an Event is received. Event Processors are the components that take care of the technical aspects of that processing. They come in roughly two forms: Subscribing and Tracking. The Subscribing Event Processors subscribe themselves to a source of Events and are invoked by the thread managed by the publishing mechanism. Tracking Event Processors, on the other hand, pull their messages from a source using a thread that manages itself.

Avatar for m1l4n54v1c

m1l4n54v1c

April 27, 2019
Tweet

More Decks by m1l4n54v1c

Other Decks in Programming

Transcript

  1. Summary • Subscribing Processing gives you ACID • Tracking Processing

    enables loose coupling • Configure number of threads to increase vertical scalability • Spread Tracking Processor load to several nodes to increase horizontal scalability • Axon Server gives you possibility to automatically spread the load @MilanSavic14