Azure Service Fabric - weaving services in hyper-scale

Preview:

Citation preview

azure service fabricweaving services in hyper-scale

#dotnet #servicefabric #azure #cloud #messagedriven#actormodel #async#microservices #supervisor#kateupton #seanconnery#matrix #twilight #daenerys

level: 101must-know: .net, c# (basics)nice-to-know: actor modeldon’t-have-to-know: azure, orleans, etc.

name: Sebastian Gebskitwitter: @liveweirdblog: http://gebski.tech

#dotnet #csharp #webdev#lean #kanban #ddd

#elixir #phoenixframework#scala #akka #play

rise yourhand if …

oh crap …

the plan need for

(hyper-)scale what’s ASF? using ASF in practice what’s in it for us?

free lunch is over

multi-core is now

internetofxyz

commodity of cloud

reactive

responsive

resilient messagedriven

elastic

buzz!

concurrencyconcerns

sharing state transactions locking CAP theorem

the circle of epiphany

bounded context

microservices

continuous delivery

isolated containers

loose coupling

qualitybuilt-in

share nothing

actormodel

immutable &

functional

and now, reboot time

it’s Platform-aaS

architecture

programming models

stateful actors stateless actors stateful svcs stateless svcs

reliable …

reliablemeansexactly…what?

reliablecollections replicated persisted asynchronous transactional

reliabledictionaries

reliablequeues

ol’ good service(s)

statelessservices

statefulservices

andthey are all …

NSYNC!ASYNC!

deployment view

actor modelto the rescue

not the freshest idea …

actors …by MSFT message-driven share nothing spawn children supervise change behavior

actor interface

anatomy ofan actor

actor’s identity

access & lifecycle

whenactors fall

no Dead Letter no supervision no restart strategy Health Model

actor diagnostics

timers& reminders

actor events

party-tioning

demo time JavaScript App

SignalR HubEcosystem

ActorCell Actors

advancedtopics

re-entrancy state providers actor polymorphism application upgrade model

testability backup automation development agility

wrappingit up maturity efficiency robustness alternatives?

usefulness

refs & materials

marketing: https://azure.microsoft.com/en-us/services/service-fabricdocs: https://azure.microsoft.com/en-us/documentation/services/service-fabricsamples: https://github.com/azure-samples/service-fabric-dotnet-getting-startedactor (model): http://doc.akka.io/docs/akka/2.4.2/general/actors.html

name: Sebastian Gebskitwitter: @liveweirdblog: http://gebski.tech

questions?

Recommended