Reliable Messaging in the World of Actors • Vagif Abilov • YOW! 2022

This presentation was recorded at YOW! 2022. #GOTOcon #YOW Vagif Abilov - Senior Consultant at Miles with 30 Years of Programming Experience @ljobject RESOURCES ABSTRACT Actor model frameworks use at-most-once delivery as a default rule for their message transport, and they do it for good reasons. Efficient reliable messaging requires business-level acknowledgement, and this it not something that the actor model framework is built for. So how do we build a reliable actor based system? I will share the lessons from our journey through the world of actors where we revised an approach to a message delivery guarantee mutiple times. Our system is written in F# and uses , but this talk is language and platform agnostic, discussing common patterns and possible obstacles when choosing between various methods to achieve reliable messaging in a system run by actors. [...] TIMECODES 00:00 Intro 04:44 How to provide message handling guarantee? 08:53 Can we run a reliable system with at-most-once message delivery? 11:20 Don’t pay for the ferryman version 1 17:44 Don’t pay for the ferryman version 2 19:54 Don’t pay for the ferryman version 3 22:53 Don’t pay for the ferryman version 4 28:34 Important assumption: Idempotency 30:31 But actors are reactive 33:23 Main lesson 33:53 Rant about workflow engines & saga managers 36:52 Conclusion 37:47 Outro Download slides and read the full abstract here: RECOMMENDED BOOKS Richard Warburton • Object-Oriented vs. Functional Programming • Russ Olsen • Getting Clojure • Russ Olsen • Eloquent Ruby • Richard Feldman • Elm in Action • Neal Ford • Functional Thinking • Venkat Subramaniam • Functional Programming in Java • Ulisses Almeida • Learn Functional Programming with Elixir • Eric Normand • Grokking Simplicity • #ActorModel #Messaging #ReliableMessaging #VagifAbilov #ActorModelFramework #Fsharp #AkkadotNET #Idempotency Looking for a unique learning experience? Attend the next GOTO conference near you! Get your ticket at Sign up for updates and specials at SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily.
Back to Top