Permalink
Browse files

Info about state management

  • Loading branch information...
krasserm committed Aug 11, 2012
1 parent 4f5b80a commit 7ba73721d0f688f5fea1fdc811130078aa4f25a4
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.md
View
@@ -16,6 +16,12 @@ Architecture
![Architecture](https://raw.github.com/eligosource/eventsourced-example/master/doc/images/invoice-example.png)
### State management
- Command and event-sourced processors manage state via [STM](http://en.wikipedia.org/wiki/Software_transactional_memory) references.
- For reading current state, services access STM references directly (concurrent reads).
- For updating current state, services access STM references via processors (actors) where a single STM reference is updated by a single processor ([single-writer-principle](http://mechanical-sympathy.blogspot.de/2011/09/single-writer-principle.html)).
Build
-----

0 comments on commit 7ba7372

Please sign in to comment.