charlessolar / Aggregates.NET

.NET event sourced domain driven design model via NServiceBus and GetEventStore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parallel Event Processing

charlessolar opened this issue · comments

Prior to v0.4.14 we were executing events in parallel - up to 10 running at the same time by default.
With the changes to EventSubscriber we now run 1 thread for normal events and 1 thread for OOB events.

This can be easily expanded to again support multiple events concurrently.

  • Note that events should still be run in order by stream - so use StreamId % maxConcurrency