15
Building micro-service based applications using Azure Service Fabric Astrid Hackenberg Senior Program Manager

Building micro-service based applications using Azure Service Fabric Astrid Hackenberg Senior Program Manager

Embed Size (px)

Citation preview

Building micro-service based applications using Azure Service Fabric

Astrid HackenbergSenior Program Manager

Infrastructure ServicesStorage

BLOB Storage

Azure Files

Premium Storage

Compute

VirtualMachine

Containers

Networking

Virtual Network

ExpressRoute

Traffic Manager

Application Gateway

DNS VPN Gateway

Load Balancer

Platform Services

Web and mobile

Web Apps

MobileApps

APIManagement

APIApps

LogicApps

NotificationHubs

Media and CDN

Content DeliveryNetwork (CDN)

MediaServices

Analytics and IoT

HDInsight MachineLearning

StreamAnalytics

DataFactory

EventHubs

MobileEngagement

Integration

BizTalkServices

HybridConnections

ServiceBus

StorageQueues

Data

SQLDatabase

DocumentDB

RedisCache Search

Tables

SQL DataWarehouse

Compute

CloudServices

Batch Remote App

ServiceFabric

Developer services

Visual Studio

ApplicationInsights

Azure SDK

Team Project

Security and Management

ActiveDirectory

Multi-FactorAuthentication

Automation

Portal

Key Vault

Store/Marketplace

VM Image Galleryand VM Depot

HybridOperations

Backup

SiteRecovery

Import/Export

AD PrivilegedIdentity Management

OperationalInsights

Azure AD Connect Health

StorSimple

Datacenter Infrastructure (24 regions, 19 online)

Azure Other clouds

Private cloud

Service Fabric

Scalability

Availability

Performance

Lifecycle manageme

nt

Portability Monitoring

Azure Service Fabric

Azure Core Infrastruct

ure

thousands of machines

Power BI

Intune

800k devices

Azure SQL

Database

1.4 million databases

Bing Cortana

500m evals/sec

Azure Documen

t DB

billions transactions/wee

k

Skype for

Business

Hybrid Ops

Event Hubs

20bn events/da

y

Microsoft services built with Service Fabric

Cloud service based application architecture

Front end(Stateless web)

StatelessMiddle-tierCompute

Cache

Load balancer

Machine Learning

Web role

Worker role

Storage

Service fabric based application architecture

Front end(Stateless web)

StatefulMiddle-tierCompute

Load balancer

Data stores used for analytics and disaster recovery

App service

Service fabric

Machine Learning

A set of machines that Service Fabric stitches together to form a cluster

Clusters can scale to1000s of machines

Service Fabric Cluster

System Services

Failover manager

Cluster manager

Namingservice

File store service

Update system services

Mark Fussell
Mark Fussell

Application: A group of microservices

Application Container Container

Container

Container

Service partitioning and failover

Node 103

P

SS

Node 104

SS

Node 102

P

SS

S

Node 105

PSSS

Node 101

SS

P

Node 100

S

PS

S

P

SS

S

• (Is logic + state that is) independently versioned, deployed, and scaled

• Has a unique name that can be resolved• e.g. fabric:/myapplication/myservice

• Interacts with other microservices over well defined interfaces and protocols like REST

• Remains always logically consistent in the presence of failures

• Hosted inside a “container” (code + config)

So…, what is a microservice?

• Stateless applications• A service that has state where the state is persisted to external

storage, such as Azure databases or Azure storage• e.g. Existing web (ASP.NET) and worker role applications

• Stateful applications• Reliability of state through replication and local persistence• Reduces latency• Reduces the complexity and number of components in traditional three

tier architecture

What can you build with Service Fabric?

Azure Other clouds

Private cloud

Service Fabric

Scalability

Availability

Performance

Lifecycle manageme

nt

Portability Monitoring

Reliable Actors APIReliable Services API

Service Fabric Programming Models

Service Fabric enables you to build highly available and scalable services that you can run on multiple clouds

Private preview service and SDK available today

Public preview service launching later this year

Post feedback on Azure MSDN forumFind out more at http://aka.ms/servicefabric

Service Fabric Availability

© 2014 Microsoft Corporation. All rights reserved.