7
Azure Service Fabric An Extremely Gentle Introduction Josh Lane

A Gentle Introduction to Azure Service Fabric

Embed Size (px)

Citation preview

Page 1: A Gentle Introduction to Azure Service Fabric

Azure Service FabricAn Extremely Gentle Introduction

Josh Lane

Page 2: A Gentle Introduction to Azure Service Fabric

Agenda• Why?• What?• How?• Questions?

Page 3: A Gentle Introduction to Azure Service Fabric

Why?• Monolith is traditional SOA pattern

• Coarse-grained set of services dev’ed, debugged, deployed, managed as a single atomic unit• Sits between…

• The One Database To Rule Them All• The One UI To Rule Them All

• But…• What if I want to update just one service?• What if I need to scale services independently of one another? ($$$)• What if I have mixed auth requirements for services?• What if I have mixed tech stacks amongst my services?

• Microservices are SRP for services (http://bit.ly/1PRkYfp)• Martin Fowler on microservices (http://bit.ly/1dI7ZJQ)

Page 4: A Gentle Introduction to Azure Service Fabric

What Is Azure Service Fabric?• Next-gen PaaS platform• Addresses issues common to microservices architectures

• reliability• scalability• manageability (monitoring, self-healing, deployment, dev/test/prod lifecycle, etc.)• state management

• Two programming models• reliable services• reliable actors

• Two state management modes• stateful• stateless (or “stateless”)

Page 5: A Gentle Introduction to Azure Service Fabric

Programming Models• Reliable Services• “Traditional” SOA-style services• More control over communication protocol• More control over partitioning scheme

• Reliable Actors• OOP on the server• Maps well to IoT domains• Smart caches, distributed networks/graphs, resource governance, etc.

• Usually a matter of style

Page 6: A Gentle Introduction to Azure Service Fabric

[guitar solo]

Page 7: A Gentle Introduction to Azure Service Fabric

Questions?