CQRS with ASP.NET MVC - A Year On
- Day 1
- Speakers: Ashic Mahtab
- 6,401 Views
- 3 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Last year, we looked at CQRS and Event Sourcing, and we primarily looked at using a framework called Ncqrs. http://channel9.msdn.com/Series/mvcConf/mvcConf-2-Ashic-Mahtab-CQRS-and-Event-Sourcing-with-MVC-3 While the concepts are great, taking on such a dependency may be worrying to some. In this session, we will look at how we can use pure and simple C# (and some F#) features to apply these patterns and achieve re-usability, modularity, aspect orientation, scalability etc. in our web applications. A lot of the concepts covered can be applied immediately to a large number of applications without requiring massive rewrites.
Already have a Channel 9 account? Please sign in
Follow the Discussion
The code for this session is available at https://github.com/ashic/aspConf-cqrs
Also, if you liked the talk, please consider rating it here http://speakerrate.com/speakers/11533-ashic-mahtab
If all the events are replayed in memory when the application starts, how can this model scale to use multiple application servers?
This is just one way of doing it. For certain scenarios, you would want persisted projection data. But even without that, there are many ways of having different nodes have a subset of the projection data in memory. When starting up, they would take a hit and take longer to start up, but when started, would act pretty much like any disk backed memory store. Another option is to persist the in memory set periodically to disk. When starting up, the node would read in the persisted set into memory and play back subsequent events (and not all from the beginning of time). There are a lot of other options - you could write books on this topic. However, this a sub-90 minute talk and it's not really possible to cover everything in that limited time.
Remove this comment
Remove this thread
close