Other
I often catch my self thinking that I miss something like the following in C#: send new MyMessage(); The line should work just like “throw”, but instead of stopping the execution of the code and looking for a handling catch block up in the stack, I would like a pluggable architecture for processing messages, so that you can mark a method to handle the message. “Send” can be used to pass messages to the upper levels, without events if those are unwanted. It will also be very cool if it will be a...
posted @ Wednesday, December 09, 2009 12:01 AM |
When dealing with processes that can potentially span hours, days and even months going with full ACID transactions is unpractical, because of internal locks.
To model such interactions saga pattern is used. Saga breaks the interaction with the system into a series of small transactions and manages the consistency through timeouts and compensations. Saga relaxes Atomicity and Isolation requirements to achieve greater scalability.
Service bus frameworks (such as NServiceBus) have saga support out of the box. Most of the frameworks (NServiceBus, MassTransit and Rhino Service Bus) infer which messages saga orchestrates by static analysis of saga types. For example the following is...
posted @ Monday, November 16, 2009 8:38 PM |
Just noticed, that Google Reader doesn't show my previous post. I know nothing about the cause of the issue, but other readers have no problems showing the post (checked with Bloglines).
posted @ Wednesday, October 28, 2009 5:14 PM |