by ourmandave · 6y ago · 0 comments
Hmmm, getting a very strong Microsoft Enterprise Library vibe.
The Microsoft Enterprise Library is a set of tools and programming libraries for the Microsoft .NET Framework. It provides APIs to facilitate proven practices in core areas of programming.
Packed full of Best Practices and more Enterprisey than Kirk, it was inscrutable to me.
Based on the novel Virtual Actor Design model, I assume Orleans is Design Patterns all the way down.
Would you mind expanding (or linking to a documentation) on how Orleans enables reliable systems?
I watched this talk (https://www.youtube.com/watch?v=9OMXw0CslKE) that uses an example web application called Smilr to demonstrate some of the features of Orleans. However, that talk doesn't really go into detail on how failures are handled.
For example, in the Smilr app, each 'Event' grain is responsible for notifying an 'Aggregator' grain whenever it comes into existence (or an existing one has its updated). What happens when a call from Event grain to Aggregator grain fails? Who is responsible for retrying?
Link to the code - https://github.com/benc-uk/smilr/blob/master/orleans/Grains/...