SlideShare a Scribd company logo
1 of 22
Download to read offline
Service Fabric
Microservices Architecture
made simple
Paris Polyzos
Software Engineer @ Stoiximan
Microsoft Azure MVP
@ppolyzos
ns 2016
Paris Polyzos
Senior Software Engineer
@ Stoiximan
github.com/ppolyzos
ppolyzos.com
AzureHeads.gr
Service Fabric: Microservices Architectures made simple GWAB Athens 2017
Agenda
3
• Traditional Architectures & Monolithic
Applications
• Microservices
• Azure Service Fabric
• Azure Service Fabric Cluster
• Application & Programming Model
• Demos
Service Fabric: Microservices Architectures made simple GWAB Athens 2017
What does Cloud mean?
4
On	Demand
Cloud	Services	are	available	on	
demand.	Whether	that	is	VM,	File	
Storage	or	Data	Processing
Horizontal	Scale
Scale	out	instead	of	scale	up
Distributed
Cloud	Services	are	
distributed	across	many	
fault	zones	to	ensure	high	
uptime
Built	for	Failure
Because	of	the	transient	
nature	of	resources	in	a	
cloud	environment	services	
will	eventually	fail
Not	a	Place
Not	only	Azure	or	AWS
Service Fabric: Microservices Architectures made simple GWAB Athens 2017
What is a Microservice?
5
Simply put, it’s a self contained, domain
specific, service
Service Fabric: Microservices Architectures made simple GWAB Athens 2017
What is a Service?
6
Simply put, something that does a body of work
Has an input, performs some body of work and
produces an output
Service Fabric: Microservices Architectures made simple GWAB Athens 2017
Traditional 3-Tier Architecture
7
Client - Presentation
Service – Business Logic
Data - Database
Service Fabric: Microservices Architectures made simple GWAB Athens 2017
Monolithic Application
8
Single	Deployable
Deploy	and	manage	one	
application
High	Initial	Agility
Few	things	to	wire	up	at	the	
beginning
Broad	Changes	Made	Easily
Change	a	big	part	of	the	
source	code,	all	in	one	place
Inconsistent	State
Feature	A	is	ready	to	go	but	
other	features	are	not	ready	
yet	
Testing
Test	entire	surface	area	of	
the	application
Scale
Cannot	scale	the	areas	of	
the	application	that	create	
“hot	zones”	independently
Feature	A Feature	B
Feature	C Feature	D
Single	Deployable	Service
Advantages Challenges
Service Fabric: Microservices Architectures made simple GWAB Athens 2017
Microservices: Different Paradigm
9
“I don’t need to know everything, I just need to know
where to find it when I need it”
Albert Einstein
Focused NOT on features but on a given business or
technical domain in which they operate.
Service Fabric: Microservices Architectures made simple GWAB Athens 2017
What is a Business Domain?
10
An area of the business that tends to use similar
terminology to describe a business/technical need
Customers
Customer	
management	and	
information	retrieval
Payments
Customer	financial	
information	and	
payments
Authentication
User	authentication	
into	the	system
Logging
Focus	on	the	logging	
of	events
Service Fabric: Microservices Architectures made simple GWAB Athens 2017
Microservice Application
11
Physically	Decoupled
If	one	service	fails	it	does	
not	bring	the	whole	system	
down
Testing
You	only	have	to	test	one	
domain
Scale
Easily	scale	a	specific	
application’s	portion
Culture	Shift
Mentality	shift	within	the	
organization
Large	Footprint
More	moving	parts	to	keep	
track	of.	
Embrace	automation
Slower	Initial	Agility
Lots	of	things	to	wire	up
Advantages ChallengesDeployable	Domain
Service	A
Data	A
Deployable	Domain
Service	N
Data	N
Service Fabric: Microservices Architectures made simple GWAB Athens 2017
Microservices by Domain
12
Business TeamService TeamData Team UI Team
Team Agility
Service Fabric: Microservices Architectures made simple GWAB Athens 2017
Microservices by Domain
13
Business Team
Service Team
Data Team
UI Team
Business Team
Service Team
Data Team
UI Team
Better	isolation
Teams	care	about	what	is	happening	
within	their	domain
End-to-end	ownership	of	a	team
Highly	concurrent	deployment	scenarios
Service Fabric: Microservices Architectures made simple GWAB Athens 2017
Service Fabric
14
Service Fabric enables you to build and manage scalable and reliable
applications composed of microservices that run at very high density on a
shared pool of machines which is referred to as a cluster.
Service Fabric: Microservices Architectures made simple GWAB Athens 2017
Service Fabric Cluster
15
Service Fabric: Microservices Architectures made simple GWAB Athens 2017
Service Fabric
16
Service Fabric: Microservices Architectures made simple GWAB Athens 2017
Service Fabric – Capabilities
17
- Application Deployment Services
• Rolling update with rollback
• Strong Versioning
• Side-by-side support
- Name service for discovery of applications
- High density
- Load balancing and placement constraints
- Consistent state replication framework
- Reliable distributed key/value store, collections and queues
Service Fabric: Microservices Architectures made simple GWAB Athens 2017
Service Fabric – Application Model
18
Service Fabric: Microservices Architectures made simple GWAB Athens 2017
Service Fabric – Programming Model
19
Guest	Executable
Any	executable,	written	in	any	language. It	
can	be	packaged	in	an	application	and	
hosted	alongside	other	services
Stateless	Reliable	Services
State	is	persisted	to	external	storage,	such	
as	Azure	DB	or	Azure	Storage
Stateful Reliable	Services
Reliability	of	state	through	replication	and	
local	persistence
Reliable	Actors
On	top	of	Reliable	Services.	This	
framework	implements	the	Virtual	Actor	
pattern.	Independent	units	of	compute	
and	state	with	single-threaded	execution	
Docker	&	Windows	Containers	(preview)
Future	improvements	to	networking,	
resources	constraints,	security,	diagnostics,	
volume	drivers,	and	tooling	support	in	
Visual	Studio
Service Fabric: Microservices Architectures made simple GWAB Athens 2017
Service Fabric
20
DEMO
Thank You
Evaluation	Survey	<	https://aka.ms/cc9cf1 >
Service Fabric: Microservices Architectures made simple GWAB Athens 2017
Service Fabric – Node Processes
22
PC/VM
FabricHost.exe	
[Auto-starts	at	boot]
Fabric.exe
[Inter-node	communication]
Your	App’s	Services
Ex:	ASP.NET	or	other	.exe
[Exposes	public	endpoint(s)]
FabricGateway.exe
[Cluster	communication]
N
o
d
e
Fabric.exe
[Inter-node	communication]
Your	App’s	Services
Ex:	ASP.NET	or	other	.exe
[Exposes	public	
endpoint(s)]
FabricGateway.exe
[Cluster	communication]
N
o
d
e
OneBox
[testing]

More Related Content

What's hot

Evolution to the Hybrid Data Center
Evolution to the Hybrid Data CenterEvolution to the Hybrid Data Center
Evolution to the Hybrid Data CenterCisco Canada
 
Multi cloud strategy
Multi cloud strategyMulti cloud strategy
Multi cloud strategyAjay Koomar
 
Data center 2.0: The journey to the cloud from the datacenter perspertive by ...
Data center 2.0: The journey to the cloud from the datacenter perspertive by ...Data center 2.0: The journey to the cloud from the datacenter perspertive by ...
Data center 2.0: The journey to the cloud from the datacenter perspertive by ...HKISPA
 
Cloud for the Hybrid Data Center
Cloud for the Hybrid Data CenterCloud for the Hybrid Data Center
Cloud for the Hybrid Data CenterNetAppUK
 
Reply Xchange Munich - Love is in the Cloud - MassMigration to AWS
Reply Xchange Munich - Love is in the Cloud - MassMigration to AWSReply Xchange Munich - Love is in the Cloud - MassMigration to AWS
Reply Xchange Munich - Love is in the Cloud - MassMigration to AWSAndrea Mercanti
 
Enterprise Cloud Strategy: 7 Areas You Need to Re-Think
Enterprise Cloud Strategy: 7 Areas You Need to Re-ThinkEnterprise Cloud Strategy: 7 Areas You Need to Re-Think
Enterprise Cloud Strategy: 7 Areas You Need to Re-ThinkRightScale
 
What A No Compromises Hybrid Cloud Looks Like
What A No Compromises Hybrid Cloud Looks Like What A No Compromises Hybrid Cloud Looks Like
What A No Compromises Hybrid Cloud Looks Like Nati Shalom
 
The Making of a Cloud Native Application Platform
The Making of a Cloud Native Application PlatformThe Making of a Cloud Native Application Platform
The Making of a Cloud Native Application PlatformCloud Foundry Foundation
 
How a CMP Can Help You Right Now
How a CMP Can Help You Right NowHow a CMP Can Help You Right Now
How a CMP Can Help You Right NowRightScale
 
Unlocking the Cloud Operating Model: People, Process, Tools
Unlocking the Cloud Operating Model: People, Process, ToolsUnlocking the Cloud Operating Model: People, Process, Tools
Unlocking the Cloud Operating Model: People, Process, ToolsMitchell Pronschinske
 
8 Elements of Multi-Cloud Security
8 Elements of Multi-Cloud Security8 Elements of Multi-Cloud Security
8 Elements of Multi-Cloud SecurityRightScale
 
Transitioning to the Next Generation Hybrid Cloud Operating Model- AWS Summit...
Transitioning to the Next Generation Hybrid Cloud Operating Model- AWS Summit...Transitioning to the Next Generation Hybrid Cloud Operating Model- AWS Summit...
Transitioning to the Next Generation Hybrid Cloud Operating Model- AWS Summit...Amazon Web Services
 
Reply Xchange Milan - Cloud Automation Services - How to Automate Cloud Servi...
Reply Xchange Milan - Cloud Automation Services - How to Automate Cloud Servi...Reply Xchange Milan - Cloud Automation Services - How to Automate Cloud Servi...
Reply Xchange Milan - Cloud Automation Services - How to Automate Cloud Servi...Andrea Mercanti
 
Dynamic Infrastructure and The Cloud
Dynamic Infrastructure and The CloudDynamic Infrastructure and The Cloud
Dynamic Infrastructure and The CloudNew Relic
 
The Cloud Native Journey
The Cloud Native JourneyThe Cloud Native Journey
The Cloud Native JourneyVMware Tanzu
 
DevOps Tooling & Policy as a Way for Government Modernization | AWS Public Se...
DevOps Tooling & Policy as a Way for Government Modernization | AWS Public Se...DevOps Tooling & Policy as a Way for Government Modernization | AWS Public Se...
DevOps Tooling & Policy as a Way for Government Modernization | AWS Public Se...Amazon Web Services
 
How Discovery Migrated 80% of Their IT to AWS with Cloudreach
How Discovery Migrated 80% of Their IT to AWS with CloudreachHow Discovery Migrated 80% of Their IT to AWS with Cloudreach
How Discovery Migrated 80% of Their IT to AWS with CloudreachAmazon Web Services
 
AWS Partner Webcast - Data Center Migration to the AWS Cloud
AWS Partner Webcast - Data Center Migration to the AWS CloudAWS Partner Webcast - Data Center Migration to the AWS Cloud
AWS Partner Webcast - Data Center Migration to the AWS CloudAmazon Web Services
 

What's hot (20)

Evolution to the Hybrid Data Center
Evolution to the Hybrid Data CenterEvolution to the Hybrid Data Center
Evolution to the Hybrid Data Center
 
Multi cloud strategy
Multi cloud strategyMulti cloud strategy
Multi cloud strategy
 
Data center 2.0: The journey to the cloud from the datacenter perspertive by ...
Data center 2.0: The journey to the cloud from the datacenter perspertive by ...Data center 2.0: The journey to the cloud from the datacenter perspertive by ...
Data center 2.0: The journey to the cloud from the datacenter perspertive by ...
 
Cloud for the Hybrid Data Center
Cloud for the Hybrid Data CenterCloud for the Hybrid Data Center
Cloud for the Hybrid Data Center
 
Reply Xchange Munich - Love is in the Cloud - MassMigration to AWS
Reply Xchange Munich - Love is in the Cloud - MassMigration to AWSReply Xchange Munich - Love is in the Cloud - MassMigration to AWS
Reply Xchange Munich - Love is in the Cloud - MassMigration to AWS
 
Enterprise Cloud Strategy: 7 Areas You Need to Re-Think
Enterprise Cloud Strategy: 7 Areas You Need to Re-ThinkEnterprise Cloud Strategy: 7 Areas You Need to Re-Think
Enterprise Cloud Strategy: 7 Areas You Need to Re-Think
 
What A No Compromises Hybrid Cloud Looks Like
What A No Compromises Hybrid Cloud Looks Like What A No Compromises Hybrid Cloud Looks Like
What A No Compromises Hybrid Cloud Looks Like
 
The Making of a Cloud Native Application Platform
The Making of a Cloud Native Application PlatformThe Making of a Cloud Native Application Platform
The Making of a Cloud Native Application Platform
 
App Modernization with Microsoft Azure
App Modernization with Microsoft AzureApp Modernization with Microsoft Azure
App Modernization with Microsoft Azure
 
How a CMP Can Help You Right Now
How a CMP Can Help You Right NowHow a CMP Can Help You Right Now
How a CMP Can Help You Right Now
 
Unlocking the Cloud Operating Model: People, Process, Tools
Unlocking the Cloud Operating Model: People, Process, ToolsUnlocking the Cloud Operating Model: People, Process, Tools
Unlocking the Cloud Operating Model: People, Process, Tools
 
8 Elements of Multi-Cloud Security
8 Elements of Multi-Cloud Security8 Elements of Multi-Cloud Security
8 Elements of Multi-Cloud Security
 
Transitioning to the Next Generation Hybrid Cloud Operating Model- AWS Summit...
Transitioning to the Next Generation Hybrid Cloud Operating Model- AWS Summit...Transitioning to the Next Generation Hybrid Cloud Operating Model- AWS Summit...
Transitioning to the Next Generation Hybrid Cloud Operating Model- AWS Summit...
 
Reply Xchange Milan - Cloud Automation Services - How to Automate Cloud Servi...
Reply Xchange Milan - Cloud Automation Services - How to Automate Cloud Servi...Reply Xchange Milan - Cloud Automation Services - How to Automate Cloud Servi...
Reply Xchange Milan - Cloud Automation Services - How to Automate Cloud Servi...
 
The promise of multi cloud
The promise of multi cloudThe promise of multi cloud
The promise of multi cloud
 
Dynamic Infrastructure and The Cloud
Dynamic Infrastructure and The CloudDynamic Infrastructure and The Cloud
Dynamic Infrastructure and The Cloud
 
The Cloud Native Journey
The Cloud Native JourneyThe Cloud Native Journey
The Cloud Native Journey
 
DevOps Tooling & Policy as a Way for Government Modernization | AWS Public Se...
DevOps Tooling & Policy as a Way for Government Modernization | AWS Public Se...DevOps Tooling & Policy as a Way for Government Modernization | AWS Public Se...
DevOps Tooling & Policy as a Way for Government Modernization | AWS Public Se...
 
How Discovery Migrated 80% of Their IT to AWS with Cloudreach
How Discovery Migrated 80% of Their IT to AWS with CloudreachHow Discovery Migrated 80% of Their IT to AWS with Cloudreach
How Discovery Migrated 80% of Their IT to AWS with Cloudreach
 
AWS Partner Webcast - Data Center Migration to the AWS Cloud
AWS Partner Webcast - Data Center Migration to the AWS CloudAWS Partner Webcast - Data Center Migration to the AWS Cloud
AWS Partner Webcast - Data Center Migration to the AWS Cloud
 

Similar to Service Fabric - Microservices Architectures made Simple

The Ideal Approach to Application Modernization; Which Way to the Cloud?
The Ideal Approach to Application Modernization; Which Way to the Cloud?The Ideal Approach to Application Modernization; Which Way to the Cloud?
The Ideal Approach to Application Modernization; Which Way to the Cloud?Codit
 
Vancouver Microservices Meetup - Kickoff Session
Vancouver Microservices Meetup - Kickoff SessionVancouver Microservices Meetup - Kickoff Session
Vancouver Microservices Meetup - Kickoff SessionMatt McLarty
 
Optimize App Performance and Security by Managing Microsoft Workloads on AWS ...
Optimize App Performance and Security by Managing Microsoft Workloads on AWS ...Optimize App Performance and Security by Managing Microsoft Workloads on AWS ...
Optimize App Performance and Security by Managing Microsoft Workloads on AWS ...Amazon Web Services
 
One And Done Multi-Cloud Load Balancing Done Right.pptx
One And Done Multi-Cloud Load Balancing Done Right.pptxOne And Done Multi-Cloud Load Balancing Done Right.pptx
One And Done Multi-Cloud Load Balancing Done Right.pptxAvi Networks
 
The Reality of Managing Microservices in Your CD Pipeline
The Reality of Managing Microservices in Your CD PipelineThe Reality of Managing Microservices in Your CD Pipeline
The Reality of Managing Microservices in Your CD PipelineDevOps.com
 
Best of re:Invent 2016 meetup presentation
Best of re:Invent 2016 meetup presentationBest of re:Invent 2016 meetup presentation
Best of re:Invent 2016 meetup presentationLahav Savir
 
Microservice Best Practices The 8020 Way.pdf
Microservice Best Practices The 8020 Way.pdfMicroservice Best Practices The 8020 Way.pdf
Microservice Best Practices The 8020 Way.pdfSimform
 
Azure Service Fabric - Hamida Rebai - CCDays
Azure Service Fabric - Hamida Rebai - CCDaysAzure Service Fabric - Hamida Rebai - CCDays
Azure Service Fabric - Hamida Rebai - CCDaysCodeOps Technologies LLP
 
Microservices Best Practices
Microservices Best PracticesMicroservices Best Practices
Microservices Best PracticesAliasgar Muchhala
 
[AWS Dev Day] 기조연설 – Olivier Klein AWS 신기술 부문 책임자, 정성권 삼성전자 수석
[AWS Dev Day] 기조연설 – Olivier Klein AWS 신기술 부문 책임자, 정성권 삼성전자 수석[AWS Dev Day] 기조연설 – Olivier Klein AWS 신기술 부문 책임자, 정성권 삼성전자 수석
[AWS Dev Day] 기조연설 – Olivier Klein AWS 신기술 부문 책임자, 정성권 삼성전자 수석Amazon Web Services Korea
 
Microsoft Microservices
Microsoft MicroservicesMicrosoft Microservices
Microsoft MicroservicesChase Aucoin
 
Cloud Native Architecture: Its Benefits and Key Components
Cloud Native Architecture: Its Benefits and Key ComponentsCloud Native Architecture: Its Benefits and Key Components
Cloud Native Architecture: Its Benefits and Key ComponentsAndrewHolland58
 
Cloud Native Apps
Cloud Native AppsCloud Native Apps
Cloud Native AppsDavid Chou
 
Breakout Session Devops at Amazon with Scania
Breakout Session Devops at Amazon with ScaniaBreakout Session Devops at Amazon with Scania
Breakout Session Devops at Amazon with ScaniaAmazon Web Services
 
WIN401_Migrating Microsoft Applications to AWS
WIN401_Migrating Microsoft Applications to AWSWIN401_Migrating Microsoft Applications to AWS
WIN401_Migrating Microsoft Applications to AWSAmazon Web Services
 
Exploring Cloud Native Architecture: Its Benefits And Key Components
Exploring Cloud Native Architecture: Its Benefits And Key ComponentsExploring Cloud Native Architecture: Its Benefits And Key Components
Exploring Cloud Native Architecture: Its Benefits And Key ComponentsLucy Zeniffer
 
Support Software Defined Networking with Dynamic Network Architecture
Support Software Defined Networking with Dynamic Network ArchitectureSupport Software Defined Networking with Dynamic Network Architecture
Support Software Defined Networking with Dynamic Network ArchitectureZivaro Inc
 
Designing Microservices
Designing MicroservicesDesigning Microservices
Designing MicroservicesDavid Chou
 
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...RapidValue
 
2011.11.22 - Cloud Infrastructure Provider - 8ème Forum du Club Cloud des Par...
2011.11.22 - Cloud Infrastructure Provider - 8ème Forum du Club Cloud des Par...2011.11.22 - Cloud Infrastructure Provider - 8ème Forum du Club Cloud des Par...
2011.11.22 - Cloud Infrastructure Provider - 8ème Forum du Club Cloud des Par...Club Cloud des Partenaires
 

Similar to Service Fabric - Microservices Architectures made Simple (20)

The Ideal Approach to Application Modernization; Which Way to the Cloud?
The Ideal Approach to Application Modernization; Which Way to the Cloud?The Ideal Approach to Application Modernization; Which Way to the Cloud?
The Ideal Approach to Application Modernization; Which Way to the Cloud?
 
Vancouver Microservices Meetup - Kickoff Session
Vancouver Microservices Meetup - Kickoff SessionVancouver Microservices Meetup - Kickoff Session
Vancouver Microservices Meetup - Kickoff Session
 
Optimize App Performance and Security by Managing Microsoft Workloads on AWS ...
Optimize App Performance and Security by Managing Microsoft Workloads on AWS ...Optimize App Performance and Security by Managing Microsoft Workloads on AWS ...
Optimize App Performance and Security by Managing Microsoft Workloads on AWS ...
 
One And Done Multi-Cloud Load Balancing Done Right.pptx
One And Done Multi-Cloud Load Balancing Done Right.pptxOne And Done Multi-Cloud Load Balancing Done Right.pptx
One And Done Multi-Cloud Load Balancing Done Right.pptx
 
The Reality of Managing Microservices in Your CD Pipeline
The Reality of Managing Microservices in Your CD PipelineThe Reality of Managing Microservices in Your CD Pipeline
The Reality of Managing Microservices in Your CD Pipeline
 
Best of re:Invent 2016 meetup presentation
Best of re:Invent 2016 meetup presentationBest of re:Invent 2016 meetup presentation
Best of re:Invent 2016 meetup presentation
 
Microservice Best Practices The 8020 Way.pdf
Microservice Best Practices The 8020 Way.pdfMicroservice Best Practices The 8020 Way.pdf
Microservice Best Practices The 8020 Way.pdf
 
Azure Service Fabric - Hamida Rebai - CCDays
Azure Service Fabric - Hamida Rebai - CCDaysAzure Service Fabric - Hamida Rebai - CCDays
Azure Service Fabric - Hamida Rebai - CCDays
 
Microservices Best Practices
Microservices Best PracticesMicroservices Best Practices
Microservices Best Practices
 
[AWS Dev Day] 기조연설 – Olivier Klein AWS 신기술 부문 책임자, 정성권 삼성전자 수석
[AWS Dev Day] 기조연설 – Olivier Klein AWS 신기술 부문 책임자, 정성권 삼성전자 수석[AWS Dev Day] 기조연설 – Olivier Klein AWS 신기술 부문 책임자, 정성권 삼성전자 수석
[AWS Dev Day] 기조연설 – Olivier Klein AWS 신기술 부문 책임자, 정성권 삼성전자 수석
 
Microsoft Microservices
Microsoft MicroservicesMicrosoft Microservices
Microsoft Microservices
 
Cloud Native Architecture: Its Benefits and Key Components
Cloud Native Architecture: Its Benefits and Key ComponentsCloud Native Architecture: Its Benefits and Key Components
Cloud Native Architecture: Its Benefits and Key Components
 
Cloud Native Apps
Cloud Native AppsCloud Native Apps
Cloud Native Apps
 
Breakout Session Devops at Amazon with Scania
Breakout Session Devops at Amazon with ScaniaBreakout Session Devops at Amazon with Scania
Breakout Session Devops at Amazon with Scania
 
WIN401_Migrating Microsoft Applications to AWS
WIN401_Migrating Microsoft Applications to AWSWIN401_Migrating Microsoft Applications to AWS
WIN401_Migrating Microsoft Applications to AWS
 
Exploring Cloud Native Architecture: Its Benefits And Key Components
Exploring Cloud Native Architecture: Its Benefits And Key ComponentsExploring Cloud Native Architecture: Its Benefits And Key Components
Exploring Cloud Native Architecture: Its Benefits And Key Components
 
Support Software Defined Networking with Dynamic Network Architecture
Support Software Defined Networking with Dynamic Network ArchitectureSupport Software Defined Networking with Dynamic Network Architecture
Support Software Defined Networking with Dynamic Network Architecture
 
Designing Microservices
Designing MicroservicesDesigning Microservices
Designing Microservices
 
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
 
2011.11.22 - Cloud Infrastructure Provider - 8ème Forum du Club Cloud des Par...
2011.11.22 - Cloud Infrastructure Provider - 8ème Forum du Club Cloud des Par...2011.11.22 - Cloud Infrastructure Provider - 8ème Forum du Club Cloud des Par...
2011.11.22 - Cloud Infrastructure Provider - 8ème Forum du Club Cloud des Par...
 

Recently uploaded

BUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxBUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxalwaysnagaraju26
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...masabamasaba
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...chiefasafspells
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationJuha-Pekka Tolvanen
 
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...WSO2
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...masabamasaba
 

Recently uploaded (20)

BUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxBUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 

Service Fabric - Microservices Architectures made Simple

  • 1. Service Fabric Microservices Architecture made simple Paris Polyzos Software Engineer @ Stoiximan Microsoft Azure MVP
  • 2. @ppolyzos ns 2016 Paris Polyzos Senior Software Engineer @ Stoiximan github.com/ppolyzos ppolyzos.com AzureHeads.gr
  • 3. Service Fabric: Microservices Architectures made simple GWAB Athens 2017 Agenda 3 • Traditional Architectures & Monolithic Applications • Microservices • Azure Service Fabric • Azure Service Fabric Cluster • Application & Programming Model • Demos
  • 4. Service Fabric: Microservices Architectures made simple GWAB Athens 2017 What does Cloud mean? 4 On Demand Cloud Services are available on demand. Whether that is VM, File Storage or Data Processing Horizontal Scale Scale out instead of scale up Distributed Cloud Services are distributed across many fault zones to ensure high uptime Built for Failure Because of the transient nature of resources in a cloud environment services will eventually fail Not a Place Not only Azure or AWS
  • 5. Service Fabric: Microservices Architectures made simple GWAB Athens 2017 What is a Microservice? 5 Simply put, it’s a self contained, domain specific, service
  • 6. Service Fabric: Microservices Architectures made simple GWAB Athens 2017 What is a Service? 6 Simply put, something that does a body of work Has an input, performs some body of work and produces an output
  • 7. Service Fabric: Microservices Architectures made simple GWAB Athens 2017 Traditional 3-Tier Architecture 7 Client - Presentation Service – Business Logic Data - Database
  • 8. Service Fabric: Microservices Architectures made simple GWAB Athens 2017 Monolithic Application 8 Single Deployable Deploy and manage one application High Initial Agility Few things to wire up at the beginning Broad Changes Made Easily Change a big part of the source code, all in one place Inconsistent State Feature A is ready to go but other features are not ready yet Testing Test entire surface area of the application Scale Cannot scale the areas of the application that create “hot zones” independently Feature A Feature B Feature C Feature D Single Deployable Service Advantages Challenges
  • 9. Service Fabric: Microservices Architectures made simple GWAB Athens 2017 Microservices: Different Paradigm 9 “I don’t need to know everything, I just need to know where to find it when I need it” Albert Einstein Focused NOT on features but on a given business or technical domain in which they operate.
  • 10. Service Fabric: Microservices Architectures made simple GWAB Athens 2017 What is a Business Domain? 10 An area of the business that tends to use similar terminology to describe a business/technical need Customers Customer management and information retrieval Payments Customer financial information and payments Authentication User authentication into the system Logging Focus on the logging of events
  • 11. Service Fabric: Microservices Architectures made simple GWAB Athens 2017 Microservice Application 11 Physically Decoupled If one service fails it does not bring the whole system down Testing You only have to test one domain Scale Easily scale a specific application’s portion Culture Shift Mentality shift within the organization Large Footprint More moving parts to keep track of. Embrace automation Slower Initial Agility Lots of things to wire up Advantages ChallengesDeployable Domain Service A Data A Deployable Domain Service N Data N
  • 12. Service Fabric: Microservices Architectures made simple GWAB Athens 2017 Microservices by Domain 12 Business TeamService TeamData Team UI Team Team Agility
  • 13. Service Fabric: Microservices Architectures made simple GWAB Athens 2017 Microservices by Domain 13 Business Team Service Team Data Team UI Team Business Team Service Team Data Team UI Team Better isolation Teams care about what is happening within their domain End-to-end ownership of a team Highly concurrent deployment scenarios
  • 14. Service Fabric: Microservices Architectures made simple GWAB Athens 2017 Service Fabric 14 Service Fabric enables you to build and manage scalable and reliable applications composed of microservices that run at very high density on a shared pool of machines which is referred to as a cluster.
  • 15. Service Fabric: Microservices Architectures made simple GWAB Athens 2017 Service Fabric Cluster 15
  • 16. Service Fabric: Microservices Architectures made simple GWAB Athens 2017 Service Fabric 16
  • 17. Service Fabric: Microservices Architectures made simple GWAB Athens 2017 Service Fabric – Capabilities 17 - Application Deployment Services • Rolling update with rollback • Strong Versioning • Side-by-side support - Name service for discovery of applications - High density - Load balancing and placement constraints - Consistent state replication framework - Reliable distributed key/value store, collections and queues
  • 18. Service Fabric: Microservices Architectures made simple GWAB Athens 2017 Service Fabric – Application Model 18
  • 19. Service Fabric: Microservices Architectures made simple GWAB Athens 2017 Service Fabric – Programming Model 19 Guest Executable Any executable, written in any language. It can be packaged in an application and hosted alongside other services Stateless Reliable Services State is persisted to external storage, such as Azure DB or Azure Storage Stateful Reliable Services Reliability of state through replication and local persistence Reliable Actors On top of Reliable Services. This framework implements the Virtual Actor pattern. Independent units of compute and state with single-threaded execution Docker & Windows Containers (preview) Future improvements to networking, resources constraints, security, diagnostics, volume drivers, and tooling support in Visual Studio
  • 20. Service Fabric: Microservices Architectures made simple GWAB Athens 2017 Service Fabric 20 DEMO
  • 22. Service Fabric: Microservices Architectures made simple GWAB Athens 2017 Service Fabric – Node Processes 22 PC/VM FabricHost.exe [Auto-starts at boot] Fabric.exe [Inter-node communication] Your App’s Services Ex: ASP.NET or other .exe [Exposes public endpoint(s)] FabricGateway.exe [Cluster communication] N o d e Fabric.exe [Inter-node communication] Your App’s Services Ex: ASP.NET or other .exe [Exposes public endpoint(s)] FabricGateway.exe [Cluster communication] N o d e OneBox [testing]