Presentation is loading. Please wait.

Presentation is loading. Please wait.

Building micro-service based applications using Azure Service Fabric

Similar presentations


Presentation on theme: "Building micro-service based applications using Azure Service Fabric"— Presentation transcript:

1 Building micro-service based applications using Azure Service Fabric
4/25/ :46 PM Building micro-service based applications using Azure Service Fabric Personal intro. Astrid Hackenberg Senior Program Manager © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2

3 Azure Service Fabric Service Fabric Azure Private cloud Other clouds
Scalability Availability Performance Lifecycle management Portability Monitoring Azure Private cloud Other clouds

4 Microsoft services built with Service Fabric
Skype for Business Hybrid Ops Azure Document DB billions transactions/week Intune 800k devices Azure Core Infrastructure thousands of machines Event Hubs 20bn events/day Bing Cortana 500m evals/sec Azure SQL Database 1.4 million databases Power BI

5 Cloud service based application architecture
Build 2015 4/25/ :46 PM Cloud service based application architecture Load balancer Front end (Stateless web) Web role Stateless Middle-tier Compute Worker role Machine Learning Storage Cache © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

6 Service fabric based application architecture
Build 2015 4/25/ :46 PM Service fabric based application architecture Load balancer Front end (Stateless web) App service Stateful Middle-tier Compute Service fabric Transition to the demo Data stores used for analytics and disaster recovery Machine Learning © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7 Service Fabric Cluster
Build 2015 4/25/2017 Service Fabric Cluster A set of machines that Service Fabric stitches together to form a cluster Clusters can scale to 1000s of machines There are two important concepts to understand with Service Fabric First you create a pool of machines called a Service Fabric cluster. This can start as small as 3 machines and grow to thousands of machines. It is fully elastic, and with no single point of failure. This cluster of physical or virtual machines can be heterogeneous, some small, some large as well. In Azure the clusters can be deployed across availability sets and across regions for redundancy. These are VMs that you own, joined by a VNET and stitched together to form a scalable cluster. Second you build applications that are composed of discrete microservices by writing code. Then you simply tell Service Fabric through a declarative model to deploy these service across the cluster Service Fabric determines the best place to insatiate and run them, based on the available machine resources. You can create multiple copies of the same application instance and you can reuse microservice across difference applications. This is application and service orchestration achieving unparalleled levels of density and control at the APPLICATION level. The services are placed into containers, processes today and Windows Containers when they are available for resource and security isolation. Note; this is not simply about moving containers around, this is understand how to manage the microservices within those containers which is actually the code you as a developer write. © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

8 System Services Update system services Failover manager Cluster Naming
Build 2015 4/25/2017 System Services Failover manager Cluster Naming service File store Update system services © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9 Application: A group of microservices
Build 2015 4/25/2017 Application: A group of microservices Application Container Container Container Container © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

10 Service partitioning and failover
Node 100 Node 101 Node 102 Node 103 Node 104 Node 105 P P P P S S S S S S S P S S S S S P S S S S Services can be partitioned for scale-out You can choose your own partitioning scheme Service partitions are stripped across machine in the cluster S S

11 So…, what is a microservice?
Build 2015 4/25/ :46 PM So…, what is a microservice? (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) © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12 What can you build with Service Fabric?
4/25/ :46 PM What can you build with Service Fabric? 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 Existing apps written with other frameworks node.js, Java VMs, any EXE © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

13 Service Fabric Programming Models
Reliable Services API Reliable Actors API Service Fabric Scalability Availability Performance Lifecycle management Portability Monitoring Azure Private cloud Other clouds

14 Service Fabric Availability
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 forum Find out more at

15 4/25/ :46 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "Building micro-service based applications using Azure Service Fabric"

Similar presentations


Ads by Google