Actor Factor

The Actor Model & Inter-Shard Communication on ETH 2.0

Brooklyn Zelenka
Mar 26 · 11 min read

A Note on Terminology

A Mini-Primer on The Actor Model

What Actors Do

An actor model slide from my “Up & Running with Elixir & Phoenix” course

An Example Flow

An example flow slide from “Up & Running with Elixir & Phoenix

Similarities to Today’s Smart Contracts

Differences from Today’s Smart Contracts

Example Actor-Based Systems

A Primer on Ethereum 2.0 Sharding

most Ethereum applications do not depend on each other, and could conceptually run in parallel

Fitness of the Actor Model for ETH 2.0

Application Layer

you’re not invoking a function on an friendly object for the answer, you’re sending a request to an independent actor who may or may not be friendly

Shard Layer

Challenges

“Train and Hotel” Problem 🎟

Happy Path

Schrödinger’s Transaction

Source

In Summary


Special Projects & Decentralized Engineering — SPADE

The Special Projects & Decentralized Engineering Company group blog

Thanks to Justin Womersley.

Brooklyn Zelenka

Written by

λ♥ Programs with functions 🏳️‍🌈👭

Special Projects & Decentralized Engineering — SPADE

The Special Projects & Decentralized Engineering Company group blog