Demystifying concurrency using Actors, Let there be Abstraction (Part 1)

Why Actor Model?

Agenda

What is an Actor?

  • Create new Actors
  • Send messages to Actors it knows
  • Designate how it should handle the next message it receives

How do Actors find each other?

Encapsulation

And Boom! To the rescue for our crashed de-capsulated data comes …

How Actor Model gets rid of Locks?

  1. Read current balance.
  2. Check if current balance is enough to withdraw requested amount.
  3. Return Success or Failure depending on step 2.

Summary

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Acho Sharashenidze

Acho Sharashenidze

6 Followers

Curious, enthusiastic, gourmand, ski lover, obsessed with technology.