News for hackers. Stuff that matters.
Re:.NET Orleans by lwansbrough on Monday October 05, 2020 @04:59PM (#24691981)
That sounds similar in concept, yeah. The brilliance of Orleans was doing it without introducing a new way of coding.
Re:.NET Orleans by acjohnson55 on Monday October 05, 2020 @05:29PM (#24692260)
Yeah, same with Cadence/Temporal. The one caveat is that you have to move all observable effects into activities so that they can be cached. Under the hood, the engine replays functions to rehydrate them, if necessary.
Re:.NET Orleans by SergeyBykov on Monday October 05, 2020 @05:59PM (#24692509)
I'm also one of the core developers of Orleans. Ironically, I recently joined Temporal. There are definitely some similarities, but also major differences between the models, especially when it comes to the execution model and fault tolerance.
Re:.NET Orleans by fgonzag on Monday October 05, 2020 @06:39PM (#24692849)
Since you're an expert on both, do you mind discussing which of the two you like better? And the reasons behind it?
Re:.NET Orleans by SergeyBykov on Monday October 05, 2020 @07:11PM (#24693073)
After more than a decade of working on Orleans and only three weeks on Temporal it's foolish of me to talk about what I "like better" :-). I'm working on a couple of conference talks to compare the two approaches. In short, Orleans is biased towards quick low latency operations. Longer running workflow style operations are totally doable, but require extra application logic and thinking. Temporal's main abstraction is a workflow. So, it's biased towards reliable execution (with retries if needed) of business processes that may take seconds or days/months. Orleans executes application code within the runtime process. Temporal orchestrates execution of external application workers (processes) I started referring to it as Inversion of Execution. Orleans is .NET. Temporal currently provides Go and Java SDKs. These are just top-level differences that come mind. There are many others. But there are also major similarities.
Re:.NET Orleans by fgonzag on Monday October 05, 2020 @11:52PM (#24694541)
Awesome! Thanks for the quick comparison