SlideShare a Scribd company logo
@ITCAMPRO
Azure Microservices in Practice
Solution Architect , Microsoft Azure MVP
iQuest Technologies
@Radu Vunvulea
@ITCAMPRO
@ITCAMPRO
RADU VUNVULEA MCTS MCP BANK HOME AUTOMATION
MVP ENTERPRISE
AUTOMOTIVE PHARMA
LEAN AND AGILE E-COMMERCE
WEB iQuest
AZURE JAVASCRIPT VUNVULEARADU.BLOGSPOT.COM
MOBILE DOTNET @RaduVunvulea
WCF WPF ENTHUSIASTIC
@ITCAMPRO
Scope
@ITCAMPRO
WHAT ARE MICROSERVICES?
@ITCAMPRO
@ITCAMPRO
Software architecture style in which complex
applications are composed of small, independent
processes communicating with each other using
language-agnostic APIs
Microservices
@ITCAMPRO
WHY WE SHOULD USE
MICROSERVICES?
@ITCAMPRO
If we need a system that has components that are…
High decoupled
Small
Easy to replace
Focus on doing a small task
Independent deployment units
Symmetrical architecture
@ITCAMPRO
Evolution
Maintenance
is hard
Adding new
features is slow
Changes are
expensive
Technology
becomes the
obstacle rather
than enabler
App Modernization
@ITCAMPRO
(AZURE) SERVICE FABRIC
@ITCAMPRO
• Service Fabric
• Azure Service Fabric
Why we have two different things?
?
@ITCAMPRO
Service Fabric | Azure Service Fabric
Microservices
Cloud
Azure
Azure Service
Fabric
AWS Service Fabric
On-premises Service Fabric
@ITCAMPRO
Overview
Service Fabric
Azure
Windows
Server
Linux
On-premises
Windows
Server
Linux
Hosted clouds
Windows
Server
Linux
Micros
ervice
Micros
ervice
Micros
ervice
Micros
ervice
Micros
ervice
@ITCAMPRO
SERVICE TYPE
@ITCAMPRO
ReliableService •Classical
service
•Reliable
•Available
•Scalable
Actor
•State
•Turn-base
access
•Single
thread
•Reentrancy
@ITCAMPRO
Stateless •No state
persisted
between
calls
Stateful
•‘A’ state
is
persisted
between
calls
@ITCAMPRO
@ITCAMPRO
What can we run in Service Fabric?
Service Fabric
Web Sites
Application
Custom
logic
@ITCAMPRO
• Multiple programing languages (C# & Java)
• Support different commucation mechanisms:
–HTTP(s)
–WCF
–TCP
–UDP
• Any protocol and communication stack is supported
• Capable to run a guest executable
How
@ITCAMPRO
@ITCAMPRO
SERVICE LIFECYCLE
@ITCAMPRO
Reliable
Services Actors
Stateful
Stateless
State
StateState
First call…
Reliable
Collections
@ITCAMPRO
Reliable
Services Actors
Stateful
Stateless
State
State
… after the call is executed
State
@ITCAMPRO
Reliable
Services Actors
Stateful
Stateless
State
State
… when GC is triggered
State
@ITCAMPRO
@ITCAMPRO
One UI for all environments
@ITCAMPRO
DEBUGGING AND TRACING
@ITCAMPRO
• Local debugging like any other .NET application
• Attach debugger to any Service Fabric Application
(on-premises or cloud)
• Diagnostic Events persistent in Cluster
• Real time Streaming Traces (Diagnostics Events)
Debugging and tracing
@ITCAMPRO
@ITCAMPRO
• Low latency
• High-throughput
• Transactional
• Can be used only
with Reliable Services
Reliable Collections
Dictionary
and
Queue
Replicat
ed
Persiste
d
In-
memory
<<servic
e
instance
>>
Asynchr
onous
Transacti
onal
@ITCAMPRO
Where collection are stored
@ITCAMPRO
• Different instances of the same
service can access the same
Reliable Collection
• Instances from different
services cannot access the
same collection
Reliable Collection – visibility
@ITCAMPRO
@ITCAMPRO
TIMERS AND REMINDERS
@ITCAMPRO
Timers and Reminders
Timers
Similar with .NET
Called at a specific
time interval
Reminders
Timer with
persistence
Trigered in all
circumstances
(deactivations and
failovers)
Concurrency
Turn based
concurrency
Stateful Actos only
@ITCAMPRO
• Context: Multiple calls to the same Reliable Actor
Concurrency
@ITCAMPRO
Concurrency
@ITCAMPRO
Concurrency
@ITCAMPRO
Execution flow:
• Reminder Trigger
• SetPrice
• SetStock
Concurrency
@ITCAMPRO
@ITCAMPRO
Events
• Send events and
notifications from
services to caller
• Allows us be notified at
different steps on when
an exception occurs
• Can be used only for
actor-client
communication
@ITCAMPRO
• On Actor:
– IActorEvents
– Trigger our custom events
• On source:
– Implement callback (Event Handler)
– Subscribe our Event Handler
Events
@ITCAMPRO
@ITCAMPRO
TRACING AND DEBUGING
@ITCAMPRO
BEHIND THE SCENE
@ITCAMPRO
Partition and Replication
@ITCAMPRO
Fault Domains and Upgrade Domains
@ITCAMPRO
Where we can control them
Application
• Partitioning
• Replication
Cluster
• Fault Domain
• Upgrade Domain
• Naming Service
• Resource
Balancer
• Failover Manager
@ITCAMPRO
@ITCAMPRO
Question
Answers
@ITCAMPRO
{
“name” : “Radu Vunvulea,
“blog” : “vunvulearadu.blogspot.com”,
“email” : ”vunvulear@outlook.com”,
“socialMedia” :
{
“twitter” : “@RaduVunvulea”,
“fb” : “radu.vunvulea”
}
}

More Related Content

PPTX
.NET Security (Radu Vunvulea)
PPTX
Service Fabric – Microservices in Microsoft World, Radu Vunvulea 30 may 2016 ...
PPTX
Getting Started With Microsoft Azure
PPTX
Azure Service Bus
PPTX
MicroService Architecture
PDF
Automating Performance Monitoring at Microsoft
PDF
70-534: ARCHITECTING MICROSOFT AZURE SOLUTIONS
PPTX
Azure Service Bus Overview
.NET Security (Radu Vunvulea)
Service Fabric – Microservices in Microsoft World, Radu Vunvulea 30 may 2016 ...
Getting Started With Microsoft Azure
Azure Service Bus
MicroService Architecture
Automating Performance Monitoring at Microsoft
70-534: ARCHITECTING MICROSOFT AZURE SOLUTIONS
Azure Service Bus Overview

What's hot (19)

PPTX
NashTech - Azure Application Insights
PPTX
Think Small To Go Big - Introduction To Microservices
PPTX
An Introduction to Docker
PPTX
React.js + azure signal r
PPTX
The hidden secrets of azure networking
PDF
UK Azure User Group - Blazor and Azure (Tim Ebenezer)
PPTX
Grokking microservices in 5 minutes
PPTX
Anatomy of an Enterprise Integration Architecture
PPTX
Integration Monday - Logic App Patterns
PPTX
Microsoft Azure News - 2018 May
PPTX
Building Multi-tenant, Configurable, High Quality Applications on .NET for an...
PDF
Building serverless integration solutions with Microsoft Azure
PDF
WSO2Con ASIA 2016: Case Study: Identity in the WSO2 Ecosystem
PPTX
PPTX
Hexagonal architecture with Spring Boot
PPTX
Reporting
PDF
Fly to the sky - cloud computing session
PPTX
Windows Azure
PDF
Automatize a detecção de ameaças e evite falsos positivos
NashTech - Azure Application Insights
Think Small To Go Big - Introduction To Microservices
An Introduction to Docker
React.js + azure signal r
The hidden secrets of azure networking
UK Azure User Group - Blazor and Azure (Tim Ebenezer)
Grokking microservices in 5 minutes
Anatomy of an Enterprise Integration Architecture
Integration Monday - Logic App Patterns
Microsoft Azure News - 2018 May
Building Multi-tenant, Configurable, High Quality Applications on .NET for an...
Building serverless integration solutions with Microsoft Azure
WSO2Con ASIA 2016: Case Study: Identity in the WSO2 Ecosystem
Hexagonal architecture with Spring Boot
Reporting
Fly to the sky - cloud computing session
Windows Azure
Automatize a detecção de ameaças e evite falsos positivos
Ad

Similar to Azure Microservices in Practice - Radu Vunvulea ITCamp Community Timisoara 07/12/2016 (20)

PDF
Azure Microservices in Practice - Radu Vunvulea
PPTX
Azure Microservices in Practice, Radu Vunvulea, ITCamp 2016
PPTX
Service fabric overview
PPTX
Azure servicefabric
PPTX
Devteach 2016: A practical overview of actors in service fabric
PPTX
Tokyo Azure Meetup #5 - Microservices and Azure Service Fabric
PDF
Azure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
PPTX
Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...
PPTX
Pieter de Bruin (Microsoft) - Welke technologie gebruiken bij implementatie M...
PPTX
First 13 steps to be able to design an application for Azure Service Fabric
PPTX
Stephane Lapointe & Alexandre Brisebois: Développer des microservices avec Se...
PPTX
Azure Service Fabric: notes from the field (Sam Vanhoute @Integrate 2016)
PPTX
Azure service fabric
PPTX
Build intelligent solutions using Azure
PPTX
Azure Service Fabric Overview
PPTX
Introducing Windows Azure
PPTX
Global Azure Bootcamp: Azure service fabric
PPTX
Introduction To Cloud Computing Winsows Azure101
PPTX
NWCloud Cloud Track - Overview of Cloud Computing and Windows Azure 101
PPTX
Getting started with development in azure
Azure Microservices in Practice - Radu Vunvulea
Azure Microservices in Practice, Radu Vunvulea, ITCamp 2016
Service fabric overview
Azure servicefabric
Devteach 2016: A practical overview of actors in service fabric
Tokyo Azure Meetup #5 - Microservices and Azure Service Fabric
Azure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...
Pieter de Bruin (Microsoft) - Welke technologie gebruiken bij implementatie M...
First 13 steps to be able to design an application for Azure Service Fabric
Stephane Lapointe & Alexandre Brisebois: Développer des microservices avec Se...
Azure Service Fabric: notes from the field (Sam Vanhoute @Integrate 2016)
Azure service fabric
Build intelligent solutions using Azure
Azure Service Fabric Overview
Introducing Windows Azure
Global Azure Bootcamp: Azure service fabric
Introduction To Cloud Computing Winsows Azure101
NWCloud Cloud Track - Overview of Cloud Computing and Windows Azure 101
Getting started with development in azure
Ad

Recently uploaded (20)

PPTX
OMC Textile Division Presentation 2021.pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
TLE Review Electricity (Electricity).pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
Architecture types and enterprise applications.pdf
PDF
project resource management chapter-09.pdf
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
Hybrid model detection and classification of lung cancer
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Zenith AI: Advanced Artificial Intelligence
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
Getting Started with Data Integration: FME Form 101
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
Enhancing emotion recognition model for a student engagement use case through...
PPTX
Programs and apps: productivity, graphics, security and other tools
OMC Textile Division Presentation 2021.pptx
Assigned Numbers - 2025 - Bluetooth® Document
TLE Review Electricity (Electricity).pptx
NewMind AI Weekly Chronicles - August'25-Week II
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Architecture types and enterprise applications.pdf
project resource management chapter-09.pdf
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
A comparative study of natural language inference in Swahili using monolingua...
DP Operators-handbook-extract for the Mautical Institute
Hybrid model detection and classification of lung cancer
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf
Zenith AI: Advanced Artificial Intelligence
observCloud-Native Containerability and monitoring.pptx
Getting Started with Data Integration: FME Form 101
NewMind AI Weekly Chronicles – August ’25 Week III
Enhancing emotion recognition model for a student engagement use case through...
Programs and apps: productivity, graphics, security and other tools

Azure Microservices in Practice - Radu Vunvulea ITCamp Community Timisoara 07/12/2016