O'Reilly logo

Mastering F# by Suhaib Fahad, Alfonso García-Caro Núñez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we learned about the Actor Model when simple functions are not enough to express the needs of our domain model in a distributed way, the Erlang-inspired model is a very powerful tool to break our program into decoupled actors, which can asynchronously exchange messages with each other. Though limited, the FSharp.Core library provides MailboxProcessor to implement this model in our programs without any extra dependency. Later we learned about distributed actors with Akka.NET and how Akka takes the Actor Model one step beyond and allows you to communicate and deploy actors remotely. Akka also introduces the concept of supervision, which helps design highly available systems that heal themselves. Also, the Akka.FSharp package ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required