distributed computing made easy with service fabric

60
Azure Service Fabric Magnus Mårtensson Loftysoft AB

Upload: biztalk360

Post on 16-Apr-2017

1.673 views

Category:

Technology


0 download

TRANSCRIPT

Azure Service Fabric

Magnus Mårtensson

Loftysoft AB

Features

Scalability

Manage Services

Deliver Features Faster

Create Business Value

Availability

Latency

Lifecycle

Data Integrity

Portability

Service Fabric

Service Fabric is a distributed systems platform

that makes it easy to build scalable, reliable, low-latency,

and easily managed applications for the Cloud.

This means that you can focus on your business needs and

let Service Fabric take care of ensuring your application is

always available and scales.

http://azure.microsoft.com/en-us/documentation/articles/service-fabric-technical-overview/

You!

Your Integration User Group

#GlobalAzure Bootcamp 2015

#GlobalAzure Bootcamp 2016

http://global.azurebootcamp.net/

SWeden microsoft Azure user Group

http://CloudBurst.azurewebsites.net/

September 17-18 Stockholm, Sweden!

And on the Internet near you!

(SWAG)

Service Fabric

Azure App Service

Azure Virtual Machines/Scale Sets

Azure Service Fabric /

Cloud Services

Apps/Services

Visual

Studio

Analytics

& Insights

Data PaaS

Data IaaS

IoT

Cloud Infrastructure powered by Windows Server,

Hyper-V, System Center, and Azure technologies

Rapid

Development

MAXCONTROL

Queues Storage

Front End

(Stateless

Web)

Stateless

Middle-tier

Compute

Cache

Scale with partitioned storage

Increase reliability with queues

Reduce read latency with caches

Manage your own transactions for state consistency

Many moving parts each managed differently

Load Balancer

3-Tier service pattern

Stateful

Middle-tier

Compute

Front End

(Stateless

Web)

data stores used for analytics and disaster recovery

Application state lives in the compute tier

Low Latency reads and writes

Partitions are first class for scale-out

Built in transactions

Fewer moving parts

Stateful services: Simplify design, reduce latency

Load Balancer

Azure

Windows

ServerLinux

Hosted Clouds

Windows

ServerLinux

Private Clouds

Windows

ServerLinux

Microservices

Container Orchestration

& lifecycle management Self-healingHigh Availability

Hyper-Scale

Hybrid Operations

High Density Rolling Upgrades

Stateful services

Low LatencyFast startup &

shutdown

Replication &

Failover

Simple

programming

modelsLoad balancing

Data Partitioning

Automated Rollback

Health

Monitoring

Placement

Constraints

Service Fabric

Container Orchestration

& lifecycle management Self-healingHigh Availability

Hyper-Scale

Hybrid Operations

High Density Rolling Upgrades

Stateful services

Low LatencyFast startup &

shutdown

Replication &

Failover

Simple

programming

modelsLoad balancing

Data Partitioning

Automated Rollback

Health

Monitoring

Placement

Constraints

Service Fabric

Microservices

Microservices

Node

Node

Node

Node

Node

Node

Node 103

P

S

S

Node 104

S

S

Node 102

P

S

S

S

Node 105

P

S

S

S

Node 101

S

S

P

Node 100

S

P

S

S

P

SS

S

P

S

S

S

S

ReadValue

P

S

S

S

S

WriteWrite

WriteWrite

AckAck

AckAck

Write

Ack

P

S

S

S

S

SB PX

X

Container Orchestration

& lifecycle management Self-healingHigh Availability

Hyper-Scale

Hybrid Operations

High Density Rolling Upgrades

Stateful services

Low LatencyFast startup &

shutdown

Replication &

Failover

Simple

programming

modelsLoad balancing

Data Partitioning

Automated Rollback

Health

Monitoring

Placement

Constraints

Service Fabric

Microservices

Collections

• Single machine

• Single threaded

Concurrent Collections

• Single machine

• Multi threaded

Reliable Collections

• Multi machine

• Replicated (HA)

• Persistence (durable)

• Asynchronous

• Transactional

Application

Package

Unit of

• Lifetime

• Versioning

• Isolation

Counter

Service type

Counter

WebApp type

Counter

Service

Pkg

Code Config

Counter

WebApp

Pkg

Application Type

Microservices

Azure TableOperational

Insights

Application

and Service

Code

Service Fabric

Runtime

Event Tracing

for Windows

(ETW)

VS ETW Viewer (local

development)

Windows

Azure

Diagnostics

(WAD)

Provisioning

http://aka.ms/ServiceFabric

Microservices stateful & stateless

Reliable Services & Reliable Actors APIs

Scaled-out using partitioning & replication