44
azure service fabric weaving services in hyper- scale

Azure Service Fabric - weaving services in hyper-scale

Embed Size (px)

Citation preview

Page 1: Azure Service Fabric - weaving services in hyper-scale

azure service fabricweaving services in hyper-scale

Page 2: Azure Service Fabric - weaving services in hyper-scale

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

Page 3: Azure Service Fabric - weaving services in hyper-scale

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

Page 4: Azure Service Fabric - weaving services in hyper-scale

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

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

#elixir #phoenixframework#scala #akka #play

Page 5: Azure Service Fabric - weaving services in hyper-scale

rise yourhand if …

Page 6: Azure Service Fabric - weaving services in hyper-scale

oh crap …

Page 7: Azure Service Fabric - weaving services in hyper-scale

the plan need for

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

Page 8: Azure Service Fabric - weaving services in hyper-scale

free lunch is over

Page 9: Azure Service Fabric - weaving services in hyper-scale

multi-core is now

Page 10: Azure Service Fabric - weaving services in hyper-scale

internetofxyz

Page 11: Azure Service Fabric - weaving services in hyper-scale

commodity of cloud

Page 12: Azure Service Fabric - weaving services in hyper-scale

reactive

responsive

resilient messagedriven

elastic

buzz!

Page 13: Azure Service Fabric - weaving services in hyper-scale

concurrencyconcerns

sharing state transactions locking CAP theorem

Page 14: Azure Service Fabric - weaving services in hyper-scale

the circle of epiphany

bounded context

microservices

continuous delivery

isolated containers

loose coupling

qualitybuilt-in

share nothing

actormodel

immutable &

functional

Page 15: Azure Service Fabric - weaving services in hyper-scale

and now, reboot time

Page 16: Azure Service Fabric - weaving services in hyper-scale

it’s Platform-aaS

Page 17: Azure Service Fabric - weaving services in hyper-scale

architecture

Page 18: Azure Service Fabric - weaving services in hyper-scale

programming models

stateful actors stateless actors stateful svcs stateless svcs

reliable …

Page 19: Azure Service Fabric - weaving services in hyper-scale

reliablemeansexactly…what?

Page 20: Azure Service Fabric - weaving services in hyper-scale

reliablecollections replicated persisted asynchronous transactional

Page 21: Azure Service Fabric - weaving services in hyper-scale

reliabledictionaries

Page 22: Azure Service Fabric - weaving services in hyper-scale

reliablequeues

Page 23: Azure Service Fabric - weaving services in hyper-scale

ol’ good service(s)

Page 24: Azure Service Fabric - weaving services in hyper-scale

statelessservices

Page 25: Azure Service Fabric - weaving services in hyper-scale

statefulservices

Page 26: Azure Service Fabric - weaving services in hyper-scale

andthey are all …

NSYNC!ASYNC!

Page 27: Azure Service Fabric - weaving services in hyper-scale

deployment view

Page 28: Azure Service Fabric - weaving services in hyper-scale

actor modelto the rescue

Page 29: Azure Service Fabric - weaving services in hyper-scale

not the freshest idea …

Page 30: Azure Service Fabric - weaving services in hyper-scale

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

Page 31: Azure Service Fabric - weaving services in hyper-scale

actor interface

Page 32: Azure Service Fabric - weaving services in hyper-scale

anatomy ofan actor

Page 33: Azure Service Fabric - weaving services in hyper-scale

actor’s identity

Page 34: Azure Service Fabric - weaving services in hyper-scale

access & lifecycle

Page 35: Azure Service Fabric - weaving services in hyper-scale

whenactors fall

no Dead Letter no supervision no restart strategy Health Model

Page 36: Azure Service Fabric - weaving services in hyper-scale

actor diagnostics

Page 37: Azure Service Fabric - weaving services in hyper-scale

timers& reminders

Page 38: Azure Service Fabric - weaving services in hyper-scale

actor events

Page 39: Azure Service Fabric - weaving services in hyper-scale

party-tioning

Page 40: Azure Service Fabric - weaving services in hyper-scale

demo time JavaScript App

SignalR HubEcosystem

ActorCell Actors

Page 41: Azure Service Fabric - weaving services in hyper-scale

advancedtopics

re-entrancy state providers actor polymorphism application upgrade model

testability backup automation development agility

Page 42: Azure Service Fabric - weaving services in hyper-scale

wrappingit up maturity efficiency robustness alternatives?

usefulness

Page 43: Azure Service Fabric - weaving services in hyper-scale

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

Page 44: Azure Service Fabric - weaving services in hyper-scale

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

questions?