akka.net: the future of distributed programming in .net

44
Akka.NET The Future of Distributed Programming in .NET Aaron Stannard, Co-founder Akka.NET @Aaronontheweb #jonthebeach

Upload: j-on-the-beach

Post on 21-Jan-2018

240 views

Category:

Technology


2 download

TRANSCRIPT

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

Akka.NET

The Future of Distributed

Programming in .NET

Aaron Stannard,

Co-founder Akka.NET

@Aaronontheweb #jonthebeach

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

High Expectations for Backend

Developers

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

And the obvious ways to scale

are wrong.

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

Scenario 2: Real-time User

Interactivity

Page 17: Akka.NET: The Future of Distributed Programming in .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

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

Statefulness & Concurrency

with Actors

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

Actor state is always private,

modified when handling

messages, only shared via

immutable messages

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

Actor References Have

Transparent Locations

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

Akka.Remote & Akka.Cluster:

Location Doesn't Matter

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

Stateful Apps Serve Results

from Memory

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

Fault and Resource Isolation

with Actors

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

DeathWatch: Subscribe to

Actors' Lifecycle