Very nice video! Please make an updated version if possible. I can see EventStore updated the website and also documentation. And please talk more about this. Thank you!
Really a great one. Waiting for the next video. Please try to use sql server or mysql. And how to handle exception if there is an error in any of the events. How to apply rollback? How to subscribe to an event in c#?
Just a heads up that the events weren't created in the right order - in the EventStore item 0 is account created and 1 is funds withdrawn, whereas in the code, item 0 is account created and item 1 is funds deposited. I imagine this is a race condition from calling appendToStreamAsync as opposed to sync? Can you confirm?
I belive this is the case, but at the end of the day this is a eventual consistancy model! The balance will still be correct, and you will see this reflected on your real life bank statements too.
@@jwbonnett How would it be correct, if you have a business rule that doesnt allow overdrawing your account? If he were to replay the events of the first stream he created, the account would go into negative when the first withdraw event is applied, because it were stored in the wrong order. How is that eventual consistency
the idea of EventStoreDB is meaningless and very limited. it just adds one more dependency to the existing system. Logically except as a glorified distributed logging, it serves no other purpose. All distributed systems have very powerful logging features from which event stream can be generated with much more ease and lot more options than just an replay-able event stream.