SlideShare a Scribd company logo
Azure Service FabricPREVIEW
Overview
João Pedro Martins
26.Mar.2016
João Pedro “jota” Martins
Software Architect
Microsoft Azure Insider + Advisor
Co-founder - GASP + APPU
TechEd 2006 – “Iron Architect” Winner
BizTalk Server MVP 2006-2011
Ground Rules and Expectations
This is based on a non-RTM SDK:
there will be problems 
This is a different way of architecting software:
there will be many disagreements 
There is a lot to say:
there won’t be enough time 
What’s this session about?
Microsoft Azure Service Fabric
= A platform for reliable, hyperscale, microservice-based applications
= PaaS v2 + Stateful Services/Actors
= Platform for applications BORN FOR THE CLOUD, not Lift&Shift’ed
the platform
MicrosoftAzure Service Fabric
A platformfor reliable,hyperscale,microservice-basedapplications
Microservices
Azure
Windows
Server
Linux
Hosted Clouds
Windows
Server
Linux
Service Fabric
Private Clouds
Windows
Server
Linux
High Availability
Hyper-Scale
Hybrid Operations
High Density Rolling Upgrades
Stateful services
Low Latency
Fast startup &
shutdown
Container Orchestration
& lifecycle management
Replication &
Failover
Simple
programming
models
Load balancing
Self-healingData Partitioning
Automated Rollback
Health
Monitoring
Placement
Constraints
Battle-hardened for over 5 years
… and the Halo 4 multiplayer
as “Project Orleans”
ServiceFabricCapabilities
Application deployment services:
 Rolling update with rollback
 Strong versioning
 Side-by-side support
Leadership election
Name service for discovery of
applications
High density
Partitioningsupport
Load balancing and placement
constraints
Consistent state replication framework
Reliable distributed key/value store,
collections and queues
Service Fabric Microservices
A microservice is whatever you want it to be:
 ASP.NET, node.js, Java VMs, an arbitrary .exe
Stateless microservices
 A microservice that has state where the state is persisted to external storage, such
as Azure databases or Azure storage
Stateful microservices
 Reliability of state through replication and local persistence
 Reduces the complexity and number of components in traditional three-tier
architecture
Service Fabric vs. Cloud Services
Cloud Services Service Fabricevolution
Cluster: A federationof machines
Node
Node
Node
Node
Node
Node
Cluster: System view
System Services
Failover
manager
Cluster
manager
Naming
Image
store
Reconfiguration
Types of reconfiguration
– Primary failover
– Removing a failed secondary
– Adding recovered replica
– Building a new secondary P
S
S
S
S
S
Must be safe in the presence of
cascading failures
B P
X
Failed
X
Failed
Upgrading Services withzero downtime
FD – Failure Domain; UD – Upgrade Domain
Basics for devs
Download from WebPI
Sets up local dev cluster
with 5 nodes by default
Includes service fabric
explorer + powershell
cmdlets
Same code that runs on
Azure
Statelessservice+AutomaticFailover
demo
the programming model
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” node (code + config)
Can be written in any language/framework (node.js, Java VMs, any EXE)
Developed by a small engineering team
Types of microservices
Stateless microservice
– Has either no state or it can be retrievedfrom an external store
– There can be N instances
– e.g. web frontends, protocol gateways, Azure Cloud Services etc.
Stateful microservice
– Maintain hard, authoritative state
– N consistent copies achieved through replication and local persistence
– e.g. database, documents, workflow, user profile, shopping cart, IoT devices,
multiplayer games, etc.
Queues Storage
3-Tier service pattern
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
Stateful
Middle-tier
Compute
Stateful services: Simplifydesign, reduce latency
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
Load Balancer
Stateful microservice
Service Fabric Programming Models
Reliable Actors APIReliable Services API
Azure Private Clouds
Applications composed of microservices
High Availability
Hyper-Scale
Hybrid Operations
High Density Rolling Upgrades
Stateful services
Low Latency
Fast startup &
shutdown
Container Orchestration
& lifecycle management
Replication &
Failover
Simple
programming
models
Load balancing
Self-healingData Partitioning
Automated Rollback
Health
Monitoring
Placement
Constraints
Service Fabric
Reliable Services API
Build stateless services using existing technologies such as ASP.NET
Build stateful services using reliable collections
• ReliableDictionary<T>, ReliableQueue<T>
• Data Contract Serializer
Manage the concurrency and granularity of state changes using transactions
Communicate with services using the technology of your choice
• e.g. WebAPI , WCF Collections
• Single machine
• Single threaded
Concurrent
Collections
• Single machine
• Multi threaded
Reliable Collections
•Multi machine
•Multi threaded
•Replicated (HA)
•Persistence
•Asynchronous
•Transactional
Stateful service+AutomaticFailover
demo
Service Fabric Programming Models
Reliable Actors APIReliable Services API
Azure Private Clouds
Applications composed of microservices
High Availability
Hyper-Scale
Hybrid Operations
High Density Rolling Upgrades
Stateful services
Low Latency
Fast startup &
shutdown
Container Orchestration
& lifecycle management
Replication &
Failover
Simple
programming
models
Load balancing
Self-healingData Partitioning
Automated Rollback
Health
Monitoring
Placement
Constraints
Service Fabric
Reliable Actors API
Build reliable stateless and stateful objects with a virtual actor
programming model
• Finally, we have Object-Oriented Microservices
Suitable for applications with multiple independent units of state and
compute
Automatic activation management
Automatic state management and turn based concurrency (single
threaded execution)
Rolling upgradeswithnodowntime (+actors)
demo
ShipGateway
BoltAsteroid
Fire!
Turn
You are
launchedGet state
• Ships
• Asteroids
• Bolts
• Scores
• Velocity
• Health
• Position
• Name
• Velocity
• Decay
• Position
• Velocity
• Position
• IsEvil?
Get state
Join a session
Actoroids
Architecturalexample
commands
Accelerate/brake
Get state
Get state
You hit
something
You are destroyed
You are destroyed
Get state
move
move
evil? chase() move()
makes all kinds of
decisions
Azure Compute Continuum
Ultimate
Control
Rapid
Development
VMs /
VM Scale Sets
VM Extensions
Service Fabric /
Batch
Web Apps/
App Service
IaaS PaaS
ServiceFabricRoadmap
Azure Service
 GA H1 2016
Windows Server 2012 R2/Windows
Server 2016 TP1
 Public preview Feb 2016
 GA June 2016 for WS2012R2 and
WS2016 RTM (Includes integration
with Windows containers)
Azure Stack
 Targeting H2 2016
Linux
 (Includes integration with Docker
containers)
 Private preview April 2016
 Public preview H2 2016
 GA H2 2016
References
Service Fabric
• http://aka.ms/ServiceFabric
Service Fabric Documentation
• http://aka.ms/ServiceFabricdocs
Service Fabric Samples
• https://azure.microsoft.com/en-us/documentation/samples/?service=service-fabric
• https://github.com/Azure-Samples/service-fabric-dotnet-getting-started
Akka.net (the other .Net implementation of the Actor Model)
• http://getakka.net/
Actor Model (1973)
• https://en.wikipedia.org/wiki/Actor_model
Martin Fowler on Microservices
• http://martinfowler.com/articles/microservices.html
João Pedro “jota” Martins
Joao.pedro.martins@gmail.com
(+351) 96 782 5537
blog.joaopedromartins.net
@lokijota
pt.linkedin.com/in/joaopedromartins/
THANK YOU! QUESTIONS?

More Related Content

PDF
Microservices to Scale using Azure Service Fabric
Mukul Jain
 
PPTX
Tokyo azure meetup #12 service fabric internals
Tokyo Azure Meetup
 
PPTX
Azure servicefabric
Abhishek Sur
 
PPTX
Tokyo Azure Meetup #5 - Microservices and Azure Service Fabric
Tokyo Azure Meetup
 
PPTX
Microservices with Azure Service Fabric
Davide Benvegnù
 
PDF
Microservice and Service Fabric talk
Daniel Kreuzhofer
 
PPTX
Global Azure Bootcamp: Azure service fabric
Luis Valencia
 
PPTX
Azure service fabric: a gentle introduction
Alessandro Melchiori
 
Microservices to Scale using Azure Service Fabric
Mukul Jain
 
Tokyo azure meetup #12 service fabric internals
Tokyo Azure Meetup
 
Azure servicefabric
Abhishek Sur
 
Tokyo Azure Meetup #5 - Microservices and Azure Service Fabric
Tokyo Azure Meetup
 
Microservices with Azure Service Fabric
Davide Benvegnù
 
Microservice and Service Fabric talk
Daniel Kreuzhofer
 
Global Azure Bootcamp: Azure service fabric
Luis Valencia
 
Azure service fabric: a gentle introduction
Alessandro Melchiori
 

What's hot (20)

PPTX
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
João Pedro Martins
 
PPTX
Azure service fabric
Fernando Mejía
 
PDF
Introduction to Oracle Cloud Infrastructure Services
Knoldus Inc.
 
PPTX
Microservices architecture
Faren faren
 
PPTX
Azure in Developer Perspective
rizaon
 
PPTX
AMIS Oracle OpenWorld 2015 Review – part 2- Hardware & IaaS and PaaS Cloud Fo...
Getting value from IoT, Integration and Data Analytics
 
PPTX
AMIS Oracle OpenWorld 2015 Review – part 3- PaaS Database, Integration, Ident...
Getting value from IoT, Integration and Data Analytics
 
PPTX
Architecting Multi-Cloud Applications - Myth or Reality?
aravindajju
 
PPTX
Banking and Docker Datacenter - How Containers Drive Agility
Sendachi
 
PDF
Azure paa s v2 – microservices, microsoft (azure) service fabric, .apps and o...
Tomasz Kopacz
 
PDF
Cloudfoundry architecture
Ramnivas Laddad
 
PPTX
AMIS Oracle OpenWorld 2015 Review – part 4- PaaS Application Development, Jav...
Getting value from IoT, Integration and Data Analytics
 
PDF
Continuous Delivery, DevOps, Cloud - New Requirements for New Architectures
Eberhard Wolff
 
PPTX
Micro services and Containers
Richard Harvey
 
PDF
Innovation with Open Sources and App Modernization for Developers | Ian Y. Choi
Vietnam Open Infrastructure User Group
 
PPTX
Kubernetes 101
Vishwas N
 
PDF
Distributed Design and Architecture of Cloud Foundry
Derek Collison
 
PPTX
Webinar: What's New in DC/OS 1.11
Mesosphere Inc.
 
PDF
Modernizing Applications with Microservices and DC/OS (Lightbend/Mesosphere c...
Lightbend
 
PDF
PaaS Solutions Comparison
GlobalLogic Ukraine
 
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
João Pedro Martins
 
Azure service fabric
Fernando Mejía
 
Introduction to Oracle Cloud Infrastructure Services
Knoldus Inc.
 
Microservices architecture
Faren faren
 
Azure in Developer Perspective
rizaon
 
AMIS Oracle OpenWorld 2015 Review – part 2- Hardware & IaaS and PaaS Cloud Fo...
Getting value from IoT, Integration and Data Analytics
 
AMIS Oracle OpenWorld 2015 Review – part 3- PaaS Database, Integration, Ident...
Getting value from IoT, Integration and Data Analytics
 
Architecting Multi-Cloud Applications - Myth or Reality?
aravindajju
 
Banking and Docker Datacenter - How Containers Drive Agility
Sendachi
 
Azure paa s v2 – microservices, microsoft (azure) service fabric, .apps and o...
Tomasz Kopacz
 
Cloudfoundry architecture
Ramnivas Laddad
 
AMIS Oracle OpenWorld 2015 Review – part 4- PaaS Application Development, Jav...
Getting value from IoT, Integration and Data Analytics
 
Continuous Delivery, DevOps, Cloud - New Requirements for New Architectures
Eberhard Wolff
 
Micro services and Containers
Richard Harvey
 
Innovation with Open Sources and App Modernization for Developers | Ian Y. Choi
Vietnam Open Infrastructure User Group
 
Kubernetes 101
Vishwas N
 
Distributed Design and Architecture of Cloud Foundry
Derek Collison
 
Webinar: What's New in DC/OS 1.11
Mesosphere Inc.
 
Modernizing Applications with Microservices and DC/OS (Lightbend/Mesosphere c...
Lightbend
 
PaaS Solutions Comparison
GlobalLogic Ukraine
 
Ad

Viewers also liked (20)

PDF
Microsoft: Building a Massively Scalable System with DataStax and Microsoft's...
DataStax Academy
 
PDF
Azure Microservices in Practice - Radu Vunvulea
ITCamp
 
PPTX
Azure Service Fabric
WinWire Technologies Inc
 
PPTX
Exploring microservices in a Microsoft landscape
Alex Thissen
 
PDF
IBM POWER8 as an HPC platform
Alexander Pozdneev
 
PDF
The Quantum Effect: HPC without FLOPS
inside-BigData.com
 
PPTX
Building a Microsoft cloud with open technologies
Alessandro Pilotti
 
PDF
Red Hat Storage Day New York - What's New in Red Hat Ceph Storage
Red_Hat_Storage
 
PDF
The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat
OpenStack
 
PDF
Red Hat Ceph Storage: Past, Present and Future
Red_Hat_Storage
 
PDF
Red hat ceph storage customer presentation
Rodrigo Missiaggia
 
PPTX
Red Hat Storage Day Boston - Why Software-defined Storage Matters
Red_Hat_Storage
 
PPTX
Deep dive into service fabric after 2 years
Tomasz Kopacz
 
PDF
Distributed Computing made easy with Service Fabric
BizTalk360
 
PPTX
Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...
MSDEVMTL
 
PPTX
Service Fabric – building tomorrows applications today
BizTalk360
 
PPTX
Devteach 2016: A practical overview of actors in service fabric
Brisebois
 
PPTX
Georgia Azure Event - Scalable cloud games using Microsoft Azure
Microsoft
 
PPTX
Accelerating Business Intelligence Solutions with Microsoft Azure pass
Jason Strate
 
PDF
OpenPOWER Roadmap Toward CORAL
inside-BigData.com
 
Microsoft: Building a Massively Scalable System with DataStax and Microsoft's...
DataStax Academy
 
Azure Microservices in Practice - Radu Vunvulea
ITCamp
 
Azure Service Fabric
WinWire Technologies Inc
 
Exploring microservices in a Microsoft landscape
Alex Thissen
 
IBM POWER8 as an HPC platform
Alexander Pozdneev
 
The Quantum Effect: HPC without FLOPS
inside-BigData.com
 
Building a Microsoft cloud with open technologies
Alessandro Pilotti
 
Red Hat Storage Day New York - What's New in Red Hat Ceph Storage
Red_Hat_Storage
 
The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat
OpenStack
 
Red Hat Ceph Storage: Past, Present and Future
Red_Hat_Storage
 
Red hat ceph storage customer presentation
Rodrigo Missiaggia
 
Red Hat Storage Day Boston - Why Software-defined Storage Matters
Red_Hat_Storage
 
Deep dive into service fabric after 2 years
Tomasz Kopacz
 
Distributed Computing made easy with Service Fabric
BizTalk360
 
Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...
MSDEVMTL
 
Service Fabric – building tomorrows applications today
BizTalk360
 
Devteach 2016: A practical overview of actors in service fabric
Brisebois
 
Georgia Azure Event - Scalable cloud games using Microsoft Azure
Microsoft
 
Accelerating Business Intelligence Solutions with Microsoft Azure pass
Jason Strate
 
OpenPOWER Roadmap Toward CORAL
inside-BigData.com
 
Ad

Similar to Azure Service Fabric Overview (20)

PPTX
20170209 dev day-websites_vs_cloudservices_vsservicefabric_scenarios
Ricardo González
 
PPTX
Microsoft Azure Cloud Basics Tutorial
IIMSE Edu
 
PPTX
Stephane Lapointe & Alexandre Brisebois: Développer des microservices avec Se...
MSDEVMTL
 
PPTX
Micro services
Brian Perera
 
PDF
Service fabric and azure service fabric mesh
Mikkel Mørk Hegnhøj
 
PPTX
Jelastic for Hosting & MSP
Dmitry Lazarenko
 
PPTX
Service Fabric Overview (Yves Goeleven)
Visug
 
PPTX
Build intelligent solutions using Azure
Mostafa
 
PDF
AppSphere 15 - Microsoft Azure for Developers & DevOps
AppDynamics
 
PDF
.NET Cloud-Native Bootcamp- Los Angeles
VMware Tanzu
 
PPTX
Designing Microservices
David Chou
 
PDF
마이크로소프트 애저 및 클라우드 트렌드 소개 (부제: Beyond IaaS)
Ian Choi
 
PDF
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
Ludovic Piot
 
PPTX
Azure Service Fabric: The road ahead for microservices
Microsoft Tech Community
 
PPT
Basics of Java Cloud
Ankur Gupta
 
PPTX
Microsoft: Invent with Purpose
Uni Systems S.M.S.A.
 
PPTX
Private PaaS & Container-as-a-Service for ISVs and Enterprise - Use Cases and...
Dmitry Lazarenko
 
PPTX
.NET microservices with Azure Service Fabric
Davide Benvegnù
 
PDF
Pivotal Container Service (PKS) at SF Cloud Foundry Meetup
cornelia davis
 
PDF
Azure Service Fabric - Hamida Rebai - CCDays
CodeOps Technologies LLP
 
20170209 dev day-websites_vs_cloudservices_vsservicefabric_scenarios
Ricardo González
 
Microsoft Azure Cloud Basics Tutorial
IIMSE Edu
 
Stephane Lapointe & Alexandre Brisebois: Développer des microservices avec Se...
MSDEVMTL
 
Micro services
Brian Perera
 
Service fabric and azure service fabric mesh
Mikkel Mørk Hegnhøj
 
Jelastic for Hosting & MSP
Dmitry Lazarenko
 
Service Fabric Overview (Yves Goeleven)
Visug
 
Build intelligent solutions using Azure
Mostafa
 
AppSphere 15 - Microsoft Azure for Developers & DevOps
AppDynamics
 
.NET Cloud-Native Bootcamp- Los Angeles
VMware Tanzu
 
Designing Microservices
David Chou
 
마이크로소프트 애저 및 클라우드 트렌드 소개 (부제: Beyond IaaS)
Ian Choi
 
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
Ludovic Piot
 
Azure Service Fabric: The road ahead for microservices
Microsoft Tech Community
 
Basics of Java Cloud
Ankur Gupta
 
Microsoft: Invent with Purpose
Uni Systems S.M.S.A.
 
Private PaaS & Container-as-a-Service for ISVs and Enterprise - Use Cases and...
Dmitry Lazarenko
 
.NET microservices with Azure Service Fabric
Davide Benvegnù
 
Pivotal Container Service (PKS) at SF Cloud Foundry Meetup
cornelia davis
 
Azure Service Fabric - Hamida Rebai - CCDays
CodeOps Technologies LLP
 

More from João Pedro Martins (7)

PPTX
The new Azure App Service Architecture
João Pedro Martins
 
PPTX
ITARC15 Workshop - Architecting a Large Software Project - Lessons Learned
João Pedro Martins
 
PDF
Architecting a Large Software Project - Lessons Learned
João Pedro Martins
 
PPTX
20140520 Microsoft WebCamp - DataBinding with KnockoutJS
João Pedro Martins
 
PDF
Power your website with Windows Azure
João Pedro Martins
 
PPTX
Software Estimation - A Step Closer to the Silver Bullet
João Pedro Martins
 
PPTX
eCommerce Solutions on Windows Azure
João Pedro Martins
 
The new Azure App Service Architecture
João Pedro Martins
 
ITARC15 Workshop - Architecting a Large Software Project - Lessons Learned
João Pedro Martins
 
Architecting a Large Software Project - Lessons Learned
João Pedro Martins
 
20140520 Microsoft WebCamp - DataBinding with KnockoutJS
João Pedro Martins
 
Power your website with Windows Azure
João Pedro Martins
 
Software Estimation - A Step Closer to the Silver Bullet
João Pedro Martins
 
eCommerce Solutions on Windows Azure
João Pedro Martins
 

Recently uploaded (20)

PPTX
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 
PDF
vAdobe Premiere Pro 2025 (v25.2.3.004) Crack Pre-Activated Latest
imang66g
 
PPTX
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
PDF
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
PDF
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
PPTX
Presentation about variables and constant.pptx
safalsingh810
 
PPTX
Role Of Python In Programing Language.pptx
jaykoshti048
 
PDF
Generating Union types w/ Static Analysis
K. Matthew Dupree
 
DOCX
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 
PDF
What to consider before purchasing Microsoft 365 Business Premium_PDF.pdf
Q-Advise
 
PPTX
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 
PDF
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
PDF
New Download MiniTool Partition Wizard Crack Latest Version 2025
imang66g
 
PPT
Activate_Methodology_Summary presentatio
annapureddyn
 
PDF
ChatPharo: an Open Architecture for Understanding How to Talk Live to LLMs
ESUG
 
PPTX
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
PDF
49784907924775488180_LRN2959_Data_Pump_23ai.pdf
Abilash868456
 
PDF
Summary Of Odoo 18.1 to 18.4 : The Way For Odoo 19
CandidRoot Solutions Private Limited
 
PDF
advancepresentationskillshdhdhhdhdhdhhfhf
jasmenrojas249
 
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 
vAdobe Premiere Pro 2025 (v25.2.3.004) Crack Pre-Activated Latest
imang66g
 
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
Presentation about variables and constant.pptx
safalsingh810
 
Role Of Python In Programing Language.pptx
jaykoshti048
 
Generating Union types w/ Static Analysis
K. Matthew Dupree
 
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 
What to consider before purchasing Microsoft 365 Business Premium_PDF.pdf
Q-Advise
 
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
New Download MiniTool Partition Wizard Crack Latest Version 2025
imang66g
 
Activate_Methodology_Summary presentatio
annapureddyn
 
ChatPharo: an Open Architecture for Understanding How to Talk Live to LLMs
ESUG
 
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
Version 1 Analytics
 
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
49784907924775488180_LRN2959_Data_Pump_23ai.pdf
Abilash868456
 
Summary Of Odoo 18.1 to 18.4 : The Way For Odoo 19
CandidRoot Solutions Private Limited
 
advancepresentationskillshdhdhhdhdhdhhfhf
jasmenrojas249
 

Azure Service Fabric Overview

  • 1. Azure Service FabricPREVIEW Overview João Pedro Martins 26.Mar.2016
  • 2. João Pedro “jota” Martins Software Architect Microsoft Azure Insider + Advisor Co-founder - GASP + APPU TechEd 2006 – “Iron Architect” Winner BizTalk Server MVP 2006-2011
  • 3. Ground Rules and Expectations This is based on a non-RTM SDK: there will be problems  This is a different way of architecting software: there will be many disagreements  There is a lot to say: there won’t be enough time 
  • 4. What’s this session about? Microsoft Azure Service Fabric = A platform for reliable, hyperscale, microservice-based applications = PaaS v2 + Stateful Services/Actors = Platform for applications BORN FOR THE CLOUD, not Lift&Shift’ed
  • 6. MicrosoftAzure Service Fabric A platformfor reliable,hyperscale,microservice-basedapplications Microservices Azure Windows Server Linux Hosted Clouds Windows Server Linux Service Fabric Private Clouds Windows Server Linux High Availability Hyper-Scale Hybrid Operations High Density Rolling Upgrades Stateful services Low Latency Fast startup & shutdown Container Orchestration & lifecycle management Replication & Failover Simple programming models Load balancing Self-healingData Partitioning Automated Rollback Health Monitoring Placement Constraints
  • 7. Battle-hardened for over 5 years … and the Halo 4 multiplayer as “Project Orleans”
  • 8. ServiceFabricCapabilities Application deployment services:  Rolling update with rollback  Strong versioning  Side-by-side support Leadership election Name service for discovery of applications High density Partitioningsupport Load balancing and placement constraints Consistent state replication framework Reliable distributed key/value store, collections and queues
  • 9. Service Fabric Microservices A microservice is whatever you want it to be:  ASP.NET, node.js, Java VMs, an arbitrary .exe Stateless microservices  A microservice that has state where the state is persisted to external storage, such as Azure databases or Azure storage Stateful microservices  Reliability of state through replication and local persistence  Reduces the complexity and number of components in traditional three-tier architecture
  • 10. Service Fabric vs. Cloud Services Cloud Services Service Fabricevolution
  • 11. Cluster: A federationof machines Node Node Node Node Node Node
  • 12. Cluster: System view System Services Failover manager Cluster manager Naming Image store
  • 13. Reconfiguration Types of reconfiguration – Primary failover – Removing a failed secondary – Adding recovered replica – Building a new secondary P S S S S S Must be safe in the presence of cascading failures B P X Failed X Failed
  • 14. Upgrading Services withzero downtime FD – Failure Domain; UD – Upgrade Domain
  • 15. Basics for devs Download from WebPI Sets up local dev cluster with 5 nodes by default Includes service fabric explorer + powershell cmdlets Same code that runs on Azure
  • 18. 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” node (code + config) Can be written in any language/framework (node.js, Java VMs, any EXE) Developed by a small engineering team
  • 19. Types of microservices Stateless microservice – Has either no state or it can be retrievedfrom an external store – There can be N instances – e.g. web frontends, protocol gateways, Azure Cloud Services etc. Stateful microservice – Maintain hard, authoritative state – N consistent copies achieved through replication and local persistence – e.g. database, documents, workflow, user profile, shopping cart, IoT devices, multiplayer games, etc.
  • 20. Queues Storage 3-Tier service pattern 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
  • 21. Stateful Middle-tier Compute Stateful services: Simplifydesign, reduce latency 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 Load Balancer
  • 23. Service Fabric Programming Models Reliable Actors APIReliable Services API Azure Private Clouds Applications composed of microservices High Availability Hyper-Scale Hybrid Operations High Density Rolling Upgrades Stateful services Low Latency Fast startup & shutdown Container Orchestration & lifecycle management Replication & Failover Simple programming models Load balancing Self-healingData Partitioning Automated Rollback Health Monitoring Placement Constraints Service Fabric
  • 24. Reliable Services API Build stateless services using existing technologies such as ASP.NET Build stateful services using reliable collections • ReliableDictionary<T>, ReliableQueue<T> • Data Contract Serializer Manage the concurrency and granularity of state changes using transactions Communicate with services using the technology of your choice • e.g. WebAPI , WCF Collections • Single machine • Single threaded Concurrent Collections • Single machine • Multi threaded Reliable Collections •Multi machine •Multi threaded •Replicated (HA) •Persistence •Asynchronous •Transactional
  • 26. Service Fabric Programming Models Reliable Actors APIReliable Services API Azure Private Clouds Applications composed of microservices High Availability Hyper-Scale Hybrid Operations High Density Rolling Upgrades Stateful services Low Latency Fast startup & shutdown Container Orchestration & lifecycle management Replication & Failover Simple programming models Load balancing Self-healingData Partitioning Automated Rollback Health Monitoring Placement Constraints Service Fabric
  • 27. Reliable Actors API Build reliable stateless and stateful objects with a virtual actor programming model • Finally, we have Object-Oriented Microservices Suitable for applications with multiple independent units of state and compute Automatic activation management Automatic state management and turn based concurrency (single threaded execution)
  • 29. ShipGateway BoltAsteroid Fire! Turn You are launchedGet state • Ships • Asteroids • Bolts • Scores • Velocity • Health • Position • Name • Velocity • Decay • Position • Velocity • Position • IsEvil? Get state Join a session Actoroids Architecturalexample commands Accelerate/brake Get state Get state You hit something You are destroyed You are destroyed Get state move move evil? chase() move() makes all kinds of decisions
  • 30. Azure Compute Continuum Ultimate Control Rapid Development VMs / VM Scale Sets VM Extensions Service Fabric / Batch Web Apps/ App Service IaaS PaaS
  • 31. ServiceFabricRoadmap Azure Service  GA H1 2016 Windows Server 2012 R2/Windows Server 2016 TP1  Public preview Feb 2016  GA June 2016 for WS2012R2 and WS2016 RTM (Includes integration with Windows containers) Azure Stack  Targeting H2 2016 Linux  (Includes integration with Docker containers)  Private preview April 2016  Public preview H2 2016  GA H2 2016
  • 32. References Service Fabric • http://aka.ms/ServiceFabric Service Fabric Documentation • http://aka.ms/ServiceFabricdocs Service Fabric Samples • https://azure.microsoft.com/en-us/documentation/samples/?service=service-fabric • https://github.com/Azure-Samples/service-fabric-dotnet-getting-started Akka.net (the other .Net implementation of the Actor Model) • http://getakka.net/ Actor Model (1973) • https://en.wikipedia.org/wiki/Actor_model Martin Fowler on Microservices • http://martinfowler.com/articles/microservices.html
  • 33. João Pedro “jota” Martins [email protected] (+351) 96 782 5537 blog.joaopedromartins.net @lokijota pt.linkedin.com/in/joaopedromartins/ THANK YOU! QUESTIONS?

Editor's Notes

  • #4: The demos are based in software that is in preview. Problems are to be expected. The programming model underlying this approach is different from what has been the best practice in the age of SOA. Questions: [Hands raised] Who has used Azure Web and Worker Roles? Who has developed services-driven systems with stateless services?
  • #5: Service Fabric enables you to build and manage scalable and reliable applications composed of microservices running at very high density on a shared pool of machines (commonly referred to as a Service Fabric cluster). Powers a huge set of Microsoft Services: Azure SQL Database, Azure DocumentDB, Cortana, Power BI, Microsoft Intune, Azure Event Hubs, Skype for Business and others It provides a sophisticated runtime for building distributed, scalable stateless and stateful microservices. Also provides comprehensive application management capabilities for provisioning, deploying, monitoring, upgrading/patching, and deleting deployed applications. Service Fabric is tailored to creating “born in the cloud” services that can start small, as needed, and grow to massive scale with hundreds or thousands of machines, creating Service Fabric clusters across availability sets in a region or across regions.
  • #7: Service Fabric enables you to build and manage scalable and reliable applications composed of microservices running at very high density on a shared pool of machines (commonly referred to as a Service Fabric cluster). Powers a huge set of Microsoft Services: Azure SQL Database, Azure DocumentDB, Cortana, Power BI, Microsoft Intune, Azure Event Hubs, Skype for Business and others It provides a sophisticated runtime for building distributed, scalable stateless and stateful microservices. Also provides comprehensive application management capabilities for provisioning, deploying, monitoring, upgrading/patching, and deleting deployed applications. Service Fabric is tailored to creating “born in the cloud” services that can start small, as needed, and grow to massive scale with hundreds or thousands of machines, creating Service Fabric clusters across availability sets in a region or across regions.
  • #24: There are two programming models available in Service Fabric to build applications: Reliable services: An API to build stateless and stateful services based on StatelessService and StatefulService .NET classes and store state in .NET reliable collections (dictionary and queue). They also have the ability to plug in a variety of communication stacks, such as Web API and Windows Communication Foundation. This programming model is suitable for applications where you need to perform compute across multiple units of state. Reliable actors: An API to build stateless and stateful objects through the virtual actor programming model that is suitable for applications with multiple independent units of state and compute.
  • #25: https://azure.microsoft.com/en-us/documentation/articles/service-fabric-reliable-services-reliable-collections/ Reliable Collections can be thought of as the natural evolution of the System.Collectionsclasses: a new set of collections that are designed for the cloud and multi-computer applications without increasing complexity for the developer. As such, Reliable Collections are: Replicated: State changes are replicated for high availability. Persisted: Data is persisted to disk for durability against large-scale outages (for example, a datacenter power outage). Asynchronous: APIs are asynchronous to ensure that threads are not blocked when incurring IO. Transactional: APIs utilize the abstraction of transactions so you can manage multiple Reliable Collections within a service easily. Reliable Collections provide strong consistency guarantees out of the box in order to make reasoning about application state easier. Strong consistency is achieved by ensuring transaction commits finish only after the entire transaction has been applied on a quorum of replicas, including the primary. To achieve weaker consistency, applications can acknowledge back to the client/requester before the asynchronous commit returns. The Reliable Collections APIs are an evolution of concurrent collections APIs (found in theSystem.Collections.Concurrent namespace): Asynchronous: Returns a task since, unlike concurrent collections, the operations are replicated and persisted. No out parameters: Uses ConditionalResult to return a bool and a value instead of out parameters. ConditionalResult is like Nullable but does not require T to be a struct. Transactions: Uses a transaction object to enable the user to group actions on multiple Reliable Collections in a transaction.
  • #35: Logo font: Monserrat Regular Logo color: #9a8e5e (154,142,94)