SlideShare a Scribd company logo
Akka.NET
The Future of Distributed
Programming in .NET
Aaron Stannard,
Co-founder Akka.NET
@Aaronontheweb #jonthebeach
High Expectations for Backend
Developers
And the obvious ways to scale
are wrong.
Enterprise CRUD App
Scenario 1: Surge in User
Activity
Obvious Solution: Sharding
Brittle
Scenario 2: Real-time User
Interactivity
Obvious Solution: Read-after-
Write
Reality
Why is Distributed Programming
Hard?
Distributed Systems 101
Enter the Actor Model
Origins
Actor Model Core Concepts
Actor Model for .NET
Akka.NET Modules
• Akka – core actor library
• Akka.Remote – cross-node actor deployment /
communication
• Akka.Cluster – elastic actor networks (HA)
• Akka.Persistence – event-sourcing, durable actor state &
recovery
• Akka.Streams – streaming workflows
• Akka.Cluster.Tools – cluster singleton, distributed pub
sub
• Akka.Cluster.Sharding – durable state partitioning
• Akka.DData – eventually consistent data replication
What's an Actor?
Statefulness & Concurrency
with Actors
Actors have internal state
Actor state is always private,
modified when handling
messages, only shared via
immutable messages
Actors live in a family tree
Actors process one message at
a time
Actors share threads!
Actors share threads!
Actors on the Network
Properties of Messages
Messaging Patterns
Messaging Protocols
Communicate with Actors via
Reference
Actor References Have
Transparent Locations
Akka.Remote & Akka.Cluster:
Location Doesn't Matter
Fastest Response Time?
Stateful Apps Serve Results
from Memory
State Locality
State Makes Protocols Work
CAP Theorem
CAP Terminologies
CAP & Protocols
Fault and Resource Isolation
with Actors
Actor Lifecycle Phases
"Just let it crash"
DeathWatch: Subscribe to
Actors' Lifecycle
Petabridge

More Related Content

PDF
SNUBBING
PDF
PSV Sizing.pdf
PPTX
Repeated Formation Testers
PDF
Well Completion Design.pdf
PDF
Tubing Hangers, Tubing Hangers Oilfield Equipment - WOM Group
PDF
ASME RT y Eficiencias de Juntas parte 3
PDF
PDF
OFFPIPE Assistant User Manual 2.0.3
SNUBBING
PSV Sizing.pdf
Repeated Formation Testers
Well Completion Design.pdf
Tubing Hangers, Tubing Hangers Oilfield Equipment - WOM Group
ASME RT y Eficiencias de Juntas parte 3
OFFPIPE Assistant User Manual 2.0.3

What's hot (20)

PDF
Subsurface flow controls external
PDF
Control de-pozos
PDF
perforated joint, flow coupling and blast joint
PDF
Design Calculation of Venting for Atmospheric & Low Pressure Storage Tanks
PDF
TH. hill casing failures training course Presentation 2010
PPT
Testing of Safety Valves
PDF
Drilling program
PDF
Scsssv surface control subsurface safety valve
PPTX
Pressure Vacuum Relief Valve.pptx
PPT
API 6A Wellhead Selection.ppt
PPT
Well completion workshop april-2018
PDF
Manual pae completo
PDF
Pressure Relief Devices_Presenation
PPTX
blow out preventer system
PDF
Power Piping ASME Guide.PDF
DOCX
Sist preventores (list)
PPT
Analisis nodal
PPTX
Separator.pptx
PPTX
Acid Fracturing Stimulation
PDF
Wellhead function, rating and selection
Subsurface flow controls external
Control de-pozos
perforated joint, flow coupling and blast joint
Design Calculation of Venting for Atmospheric & Low Pressure Storage Tanks
TH. hill casing failures training course Presentation 2010
Testing of Safety Valves
Drilling program
Scsssv surface control subsurface safety valve
Pressure Vacuum Relief Valve.pptx
API 6A Wellhead Selection.ppt
Well completion workshop april-2018
Manual pae completo
Pressure Relief Devices_Presenation
blow out preventer system
Power Piping ASME Guide.PDF
Sist preventores (list)
Analisis nodal
Separator.pptx
Acid Fracturing Stimulation
Wellhead function, rating and selection
Ad

Similar to Akka.NET: The Future of Distributed Programming in .NET (20)

PPTX
Introduction to Akka.NET and Akka.Cluster
PPTX
DotNext 2020 - When and How to Use the Actor Model and Akka.NET
PDF
Actor model in .NET - Akka.NET
PPTX
Akka for big data developers
PDF
Agile Lab_BigData_Meetup_AKKA
PDF
ApacheCon BigData - What it takes to process a trillion events a day?
PDF
Akka and Kubernetes, the beginning of a beautiful relationship
PPTX
ReactiveStream-meetup-Jan102015ppt
PPTX
May 2013 HUG: Apache Sqoop 2 - A next generation of data transfer tools
PPTX
Akka Microservices Architecture And Design
PDF
Strimzi - Where Apache Kafka meets OpenShift - OpenShift Spain MeetUp
PDF
Cloud-Native Apache Spark Scheduling with YuniKorn Scheduler
PDF
Akka in Production - ScalaDays 2015
PDF
Streaming Analytics with Spark, Kafka, Cassandra and Akka
PDF
Proactive ops for container orchestration environments
PDF
Dissolving the Problem (Making an ACID-Compliant Database Out of Apache Kafka®)
PDF
Sigmoid akka stream
PDF
Akka-intro-training-public.pdf
PPTX
Fundamentals of Akka - Webinar
Introduction to Akka.NET and Akka.Cluster
DotNext 2020 - When and How to Use the Actor Model and Akka.NET
Actor model in .NET - Akka.NET
Akka for big data developers
Agile Lab_BigData_Meetup_AKKA
ApacheCon BigData - What it takes to process a trillion events a day?
Akka and Kubernetes, the beginning of a beautiful relationship
ReactiveStream-meetup-Jan102015ppt
May 2013 HUG: Apache Sqoop 2 - A next generation of data transfer tools
Akka Microservices Architecture And Design
Strimzi - Where Apache Kafka meets OpenShift - OpenShift Spain MeetUp
Cloud-Native Apache Spark Scheduling with YuniKorn Scheduler
Akka in Production - ScalaDays 2015
Streaming Analytics with Spark, Kafka, Cassandra and Akka
Proactive ops for container orchestration environments
Dissolving the Problem (Making an ACID-Compliant Database Out of Apache Kafka®)
Sigmoid akka stream
Akka-intro-training-public.pdf
Fundamentals of Akka - Webinar
Ad

More from J On The Beach (20)

PDF
Massively scalable ETL in real world applications: the hard way
PPTX
Big Data On Data You Don’t Have
PPTX
Acoustic Time Series in Industry 4.0: Improved Reliability and Cyber-Security...
PDF
Pushing it to the edge in IoT
PDF
Drinking from the firehose, with virtual streams and virtual actors
PDF
How do we deploy? From Punched cards to Immutable server pattern
PDF
Java, Turbocharged
PDF
When Cloud Native meets the Financial Sector
PDF
The big data Universe. Literally.
PDF
Streaming to a New Jakarta EE
PDF
The TIPPSS Imperative for IoT - Ensuring Trust, Identity, Privacy, Protection...
PDF
Pushing AI to the Client with WebAssembly and Blazor
PDF
Axon Server went RAFTing
PDF
The Six Pitfalls of building a Microservices Architecture (and how to avoid t...
PDF
Madaari : Ordering For The Monkeys
PDF
Servers are doomed to fail
PDF
Interaction Protocols: It's all about good manners
PDF
A race of two compilers: GraalVM JIT versus HotSpot JIT C2. Which one offers ...
PDF
Leadership at every level
PDF
Machine Learning: The Bare Math Behind Libraries
Massively scalable ETL in real world applications: the hard way
Big Data On Data You Don’t Have
Acoustic Time Series in Industry 4.0: Improved Reliability and Cyber-Security...
Pushing it to the edge in IoT
Drinking from the firehose, with virtual streams and virtual actors
How do we deploy? From Punched cards to Immutable server pattern
Java, Turbocharged
When Cloud Native meets the Financial Sector
The big data Universe. Literally.
Streaming to a New Jakarta EE
The TIPPSS Imperative for IoT - Ensuring Trust, Identity, Privacy, Protection...
Pushing AI to the Client with WebAssembly and Blazor
Axon Server went RAFTing
The Six Pitfalls of building a Microservices Architecture (and how to avoid t...
Madaari : Ordering For The Monkeys
Servers are doomed to fail
Interaction Protocols: It's all about good manners
A race of two compilers: GraalVM JIT versus HotSpot JIT C2. Which one offers ...
Leadership at every level
Machine Learning: The Bare Math Behind Libraries

Recently uploaded (20)

PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Cloud computing and distributed systems.
PPT
Teaching material agriculture food technology
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Big Data Technologies - Introduction.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Encapsulation theory and applications.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Machine learning based COVID-19 study performance prediction
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
Dropbox Q2 2025 Financial Results & Investor Presentation
The Rise and Fall of 3GPP – Time for a Sabbatical?
Network Security Unit 5.pdf for BCA BBA.
Chapter 3 Spatial Domain Image Processing.pdf
Cloud computing and distributed systems.
Teaching material agriculture food technology
Encapsulation_ Review paper, used for researhc scholars
Spectral efficient network and resource selection model in 5G networks
Spectroscopy.pptx food analysis technology
Programs and apps: productivity, graphics, security and other tools
Big Data Technologies - Introduction.pptx
Approach and Philosophy of On baking technology
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Advanced methodologies resolving dimensionality complications for autism neur...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Encapsulation theory and applications.pdf
Review of recent advances in non-invasive hemoglobin estimation
Machine learning based COVID-19 study performance prediction
20250228 LYD VKU AI Blended-Learning.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm

Akka.NET: The Future of Distributed Programming in .NET