SlideShare a Scribd company logo
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
Azure Microservices in Practice
Radu Vunvulea
Solution Architect, iQuest Technologies
Microsoft Azure MVP
@RaduVunvulea
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
Many thanks to our sponsors & partners!
GOLD
SILVER
PARTNERS
PLATINUM
POWERED BY
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
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 #ITCAMP16Community Conference for IT Professionals
Scope
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
WHAT ARE MICROSERVICES?
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
Software architecture style in which complex
applications are composed of small, independent
processes communicating with each other using
language-agnostic APIs
Microservices
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
WHY WE SHOULD USE
MICROSERVICES?
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
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 #ITCAMP16Community Conference for IT Professionals
Evolution
Maintenance
is hard
Adding new
features is slow
Changes are
expensive
Technology
becomes the
obstacle rather
than enabler
App Modernization
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
(AZURE) SERVICE FABRIC
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
• Service Fabric
• Azure Service Fabric
Why we have two different things?
?
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
Service Fabric | Azure Service Fabric
Microservices
Cloud
Azure
Azure Service
Fabric
AWS Service Fabric
On-premises Service Fabric
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
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 #ITCAMP16Community Conference for IT Professionals
SERVICE TYPE
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
ReliableService •Classical
service
•Reliable
•Available
•Scalable
Actor
•State
•Turn-base
access
•Single
thread
•Reentrancy
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
Stateless •No state
persisted
between
calls
Stateful
•‘A’ state
is
persisted
between
calls
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
What can we run in Service Fabric?
Service Fabric
Web Sites
Application
Custom
logic
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
• 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 #ITCAMP16Community Conference for IT Professionals
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
SERVICE LIFECYCLE
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
Reliable
Services Actors
Stateful
Stateless
State
StateState
First call…
Reliable
Collections
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
Reliable
Services Actors
Stateful
Stateless
State
State
… after the call is executed
State
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
Reliable
Services Actors
Stateful
Stateless
State
State
… when GC is triggered
State
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
One UI for all environments
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
DEBUGGING AND TRACING
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
• 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 #ITCAMP16Community Conference for IT Professionals
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
• 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 #ITCAMP16Community Conference for IT Professionals
Where collection are stored
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
• 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 #ITCAMP16Community Conference for IT Professionals
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
TIMERS AND REMINDERS
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
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 #ITCAMP16Community Conference for IT Professionals
• Context: Multiple calls to the same Reliable Actor
Concurrency
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
Concurrency
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
Concurrency
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
Execution flow:
• Reminder Trigger
• SetPrice
• SetStock
Concurrency
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
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 #ITCAMP16Community Conference for IT Professionals
• On Actor:
– IActorEvents
– Trigger our custom events
• On source:
– Implement callback (Event Handler)
– Subscribe our Event Handler
Events
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
TRACING AND DEBUGING
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
BEHIND THE SCENE
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
Partition and Replication
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
Fault Domains and Upgrade Domains
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
Where we can control them
Application
• Partitioning
• Replication
Cluster
• Fault Domain
• Upgrade Domain
• Naming Service
• Resource
Balancer
• Failover Manager
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
Question
Answers
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
{
“name” : “Radu Vunvulea,
“blog” : “vunvulearadu.blogspot.com”,
“email” : ”vunvulear@outlook.com”,
“socialMedia” :
{
“twitter” : “@RaduVunvulea”,
“fb” : “radu.vunvulea”
}
}
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
Today: Enjoy ITCamp Day 1
Tomorow: Enjoy ITCamp Day 2
Saturday: Take a look on
https://github.com/Azure/
servicefabric-samples
@ITCAMPRO #ITCAMP16Community Conference for IT Professionals
{
“name” : “Radu Vunvulea,
“blog” : “vunvulearadu.blogspot.com”,
“email” : ”vunvulear@outlook.com”,
“socialMedia” :
{
“twitter” : “@RaduVunvulea”,
“fb” : “radu.vunvulea”
}
}

More Related Content

PDF
A new world of possibilities for contextual awareness with beacons - Dan Arde...
PDF
The Fine Art of Time Travelling - Implementing Event Sourcing - Andrea Saltar...
PDF
Testing your PowerShell code with Pester - Florin Loghiade
PDF
Execution Plans in practice - how to make SQL Server queries faster - Damian ...
PPTX
Serverless Single Page Apps with React and Redux at ItCamp 2017
PDF
Suddenly Reality - Peter Leeson
PDF
The best of Windows Server 2016 - Thomas Maurer
PDF
#NoAgile - Dan Suciu
A new world of possibilities for contextual awareness with beacons - Dan Arde...
The Fine Art of Time Travelling - Implementing Event Sourcing - Andrea Saltar...
Testing your PowerShell code with Pester - Florin Loghiade
Execution Plans in practice - how to make SQL Server queries faster - Damian ...
Serverless Single Page Apps with React and Redux at ItCamp 2017
Suddenly Reality - Peter Leeson
The best of Windows Server 2016 - Thomas Maurer
#NoAgile - Dan Suciu

What's hot (20)

PDF
Travelling in time with SQL Server 2016 - Damian Widera
PDF
What's New in Hyper-V 2016 - Thomas Maurer
PDF
How to secure and manage modern IT - Ondrej Vysek
PDF
Modern cybersecurity threats, and shiny new tools to help deal with them - T...
PDF
Blockchain for mere mortals - understand the fundamentals and start building ...
PDF
Azure and Predix
PDF
IoT Cloud Service & Partner IoT Solution
PDF
Emerging Experiences - More Personal Computing (MPC) - Tim Huckaby
PDF
NoSQL in Practice with TIBCO: Real World Use Cases and Customer Success Stori...
PDF
Scaling face recognition with big data - Bogdan Bocse
PDF
Nano Server - the future of Windows Server - Thomas Maurer
PDF
Mqtt.fx on hive mq cloud
PDF
Distributor-Cloud-Marketplaces
PDF
Create The Internet of Your Things example of a real system - Laurent Ellerbach
PPT
Build & Deploy Scalable Cloud Applications in Record Time
PDF
Sap Leonardo IoT Overview
PPTX
Unified Cloud Performance Monitoring - The Need of The Hour
PDF
The State of SDN, SDDC & Cloud
PDF
Security & Seamless CX in User Authentication: How to Achieve Both?
PPTX
IoT and Microservice
Travelling in time with SQL Server 2016 - Damian Widera
What's New in Hyper-V 2016 - Thomas Maurer
How to secure and manage modern IT - Ondrej Vysek
Modern cybersecurity threats, and shiny new tools to help deal with them - T...
Blockchain for mere mortals - understand the fundamentals and start building ...
Azure and Predix
IoT Cloud Service & Partner IoT Solution
Emerging Experiences - More Personal Computing (MPC) - Tim Huckaby
NoSQL in Practice with TIBCO: Real World Use Cases and Customer Success Stori...
Scaling face recognition with big data - Bogdan Bocse
Nano Server - the future of Windows Server - Thomas Maurer
Mqtt.fx on hive mq cloud
Distributor-Cloud-Marketplaces
Create The Internet of Your Things example of a real system - Laurent Ellerbach
Build & Deploy Scalable Cloud Applications in Record Time
Sap Leonardo IoT Overview
Unified Cloud Performance Monitoring - The Need of The Hour
The State of SDN, SDDC & Cloud
Security & Seamless CX in User Authentication: How to Achieve Both?
IoT and Microservice
Ad

Viewers also liked (15)

PDF
Investing in Presales - George Bara
PDF
SQL Azure Data Warehouse - Silviu Niculita
PDF
The rise of privacy & personal data in the IT business - Claudia Jelea
PDF
Enforce Consistency through Application Infrastructure - Florin Coros
PDF
Everyone Loves Docker Containers Before They Understand Docker Containers - A...
PDF
Building Your First SPA with Aurelia and MVC 6 - Mihai Coros
PDF
2016, A New Era of OS and Cloud Security - Tudor Damian
PDF
Business Processes in Microsoft Dynamics CRM - Nicu Aleman
PDF
Component Based UI Architecture - Alex Moldovan
PDF
Frustration Management - Dan Danciu
PDF
Developing PowerShell Tools - Razvan Rusu
PDF
Building and Managing your Virtual Datacenter using PowerShell DSC - Florin L...
PDF
Azure SQL Database From A Developer's Perspective - Alex Mang
PDF
Cluj 2030 a vision on IT - will it thrive or will it flop - Mihai Nadas
PDF
Live Presentation Transformation From Boring to Effective - Boris Hristov
Investing in Presales - George Bara
SQL Azure Data Warehouse - Silviu Niculita
The rise of privacy & personal data in the IT business - Claudia Jelea
Enforce Consistency through Application Infrastructure - Florin Coros
Everyone Loves Docker Containers Before They Understand Docker Containers - A...
Building Your First SPA with Aurelia and MVC 6 - Mihai Coros
2016, A New Era of OS and Cloud Security - Tudor Damian
Business Processes in Microsoft Dynamics CRM - Nicu Aleman
Component Based UI Architecture - Alex Moldovan
Frustration Management - Dan Danciu
Developing PowerShell Tools - Razvan Rusu
Building and Managing your Virtual Datacenter using PowerShell DSC - Florin L...
Azure SQL Database From A Developer's Perspective - Alex Mang
Cluj 2030 a vision on IT - will it thrive or will it flop - Mihai Nadas
Live Presentation Transformation From Boring to Effective - Boris Hristov
Ad

Similar to Azure Microservices in Practice - Radu Vunvulea (20)

PPTX
Azure Microservices in Practice, Radu Vunvulea, ITCamp 2016
PDF
Azure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
PPTX
ITCamp 2019 - Emil Craciun - RoboRestaurant of the future powered by serverle...
PPTX
It camp 2015 how to scale above clouds limits, radu vunvulea
PPTX
Day zero of a cloud project Radu Vunvulea ITCamp 2018
PPTX
Xamarin - Under the bridge
PDF
ITCamp 2018 - Walter Belgers - Lockpicking and IT security
PDF
Xamarin Under The Hood - Dan Ardelean
PPTX
ITCamp 2019 - Mihai Tataran - Governing your Cloud Resources
PDF
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
PPTX
A new world of possibilities for contextual awareness with beacons
PDF
ITCamp 2018 - Ciprian Sorlea - Enterprise Architectures with TypeScript And F...
PDF
How # (sharp) is Your Katana (Ciprian Jichici)
PDF
ITCamp 2018 - Gunnar Peipman - Multi-tenant web applications with ASP.NET Core
PPTX
Multi-tenant web applications with ASP.NET Core
PPTX
Quantum programming in a nutshell Radu Vunvulea ITCamp 2018
PDF
ITCamp 2018 - Damian Widera U-SQL in great depth
PDF
The Next Generation of Microservices
PDF
ITCamp 2017 - Florin Coros - Decide between In-Process or Inter-Processes Com...
PDF
ITCamp 2019 - Andrea Saltarello - Modernise your app. The Cloud Story
Azure Microservices in Practice, Radu Vunvulea, ITCamp 2016
Azure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
ITCamp 2019 - Emil Craciun - RoboRestaurant of the future powered by serverle...
It camp 2015 how to scale above clouds limits, radu vunvulea
Day zero of a cloud project Radu Vunvulea ITCamp 2018
Xamarin - Under the bridge
ITCamp 2018 - Walter Belgers - Lockpicking and IT security
Xamarin Under The Hood - Dan Ardelean
ITCamp 2019 - Mihai Tataran - Governing your Cloud Resources
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
A new world of possibilities for contextual awareness with beacons
ITCamp 2018 - Ciprian Sorlea - Enterprise Architectures with TypeScript And F...
How # (sharp) is Your Katana (Ciprian Jichici)
ITCamp 2018 - Gunnar Peipman - Multi-tenant web applications with ASP.NET Core
Multi-tenant web applications with ASP.NET Core
Quantum programming in a nutshell Radu Vunvulea ITCamp 2018
ITCamp 2018 - Damian Widera U-SQL in great depth
The Next Generation of Microservices
ITCamp 2017 - Florin Coros - Decide between In-Process or Inter-Processes Com...
ITCamp 2019 - Andrea Saltarello - Modernise your app. The Cloud Story

More from ITCamp (20)

PDF
ITCamp 2019 - Stacey M. Jenkins - Protecting your company's data - By psychol...
PDF
ITCamp 2019 - Silviu Niculita - Supercharge your AI efforts with the use of A...
PDF
ITCamp 2019 - Peter Leeson - Managing Skills
PDF
ITCamp 2019 - Ivana Milicic - Color - The Shadow Ruler of UX
PDF
ITCamp 2019 - Florin Coros - Implementing Clean Architecture
PPTX
ITCamp 2019 - Florin Loghiade - Azure Kubernetes in Production - Field notes...
PPTX
ITCamp 2019 - Florin Flestea - How 3rd Level support experience influenced m...
PPTX
ITCamp 2019 - Eldert Grootenboer - Cloud Architecture Recipes for The Enterprise
PPTX
ITCamp 2019 - Cristiana Fernbach - Blockchain Legal Trends
PPTX
ITCamp 2019 - Andy Cross - Machine Learning with ML.NET and Azure Data Lake
PPTX
ITCamp 2019 - Andy Cross - Business Outcomes from AI
PPTX
ITCamp 2019 - Alex Mang - I'm Confused Should I Orchestrate my Containers on ...
PPTX
ITCamp 2019 - Alex Mang - How Far Can Serverless Actually Go Now
PDF
ITCamp 2019 - Peter Leeson - Vitruvian Quality
PDF
ITCamp 2018 - Ciprian Sorlea - Million Dollars Hello World Application
PDF
ITCamp 2018 - Mete Atamel Ian Talarico - Google Home meets .NET containers on...
PDF
ITCamp 2018 - Magnus Mårtensson - Azure Global Application Perspectives
PDF
ITCamp 2018 - Magnus Mårtensson - Azure Resource Manager For The Win
PDF
ITCamp 2018 - Ionut Balan - A beginner’s guide to Windows Mixed Reality
PDF
ITCamp 2018 - Florin Coros - ‘Cloud Ready’ Design through Application Softwar...
ITCamp 2019 - Stacey M. Jenkins - Protecting your company's data - By psychol...
ITCamp 2019 - Silviu Niculita - Supercharge your AI efforts with the use of A...
ITCamp 2019 - Peter Leeson - Managing Skills
ITCamp 2019 - Ivana Milicic - Color - The Shadow Ruler of UX
ITCamp 2019 - Florin Coros - Implementing Clean Architecture
ITCamp 2019 - Florin Loghiade - Azure Kubernetes in Production - Field notes...
ITCamp 2019 - Florin Flestea - How 3rd Level support experience influenced m...
ITCamp 2019 - Eldert Grootenboer - Cloud Architecture Recipes for The Enterprise
ITCamp 2019 - Cristiana Fernbach - Blockchain Legal Trends
ITCamp 2019 - Andy Cross - Machine Learning with ML.NET and Azure Data Lake
ITCamp 2019 - Andy Cross - Business Outcomes from AI
ITCamp 2019 - Alex Mang - I'm Confused Should I Orchestrate my Containers on ...
ITCamp 2019 - Alex Mang - How Far Can Serverless Actually Go Now
ITCamp 2019 - Peter Leeson - Vitruvian Quality
ITCamp 2018 - Ciprian Sorlea - Million Dollars Hello World Application
ITCamp 2018 - Mete Atamel Ian Talarico - Google Home meets .NET containers on...
ITCamp 2018 - Magnus Mårtensson - Azure Global Application Perspectives
ITCamp 2018 - Magnus Mårtensson - Azure Resource Manager For The Win
ITCamp 2018 - Ionut Balan - A beginner’s guide to Windows Mixed Reality
ITCamp 2018 - Florin Coros - ‘Cloud Ready’ Design through Application Softwar...

Recently uploaded (20)

PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
MYSQL Presentation for SQL database connectivity
PDF
KodekX | Application Modernization Development
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPT
Teaching material agriculture food technology
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Big Data Technologies - Introduction.pptx
Spectral efficient network and resource selection model in 5G networks
Dropbox Q2 2025 Financial Results & Investor Presentation
“AI and Expert System Decision Support & Business Intelligence Systems”
MYSQL Presentation for SQL database connectivity
KodekX | Application Modernization Development
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
MIND Revenue Release Quarter 2 2025 Press Release
Diabetes mellitus diagnosis method based random forest with bat algorithm
Teaching material agriculture food technology
NewMind AI Weekly Chronicles - August'25 Week I
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Understanding_Digital_Forensics_Presentation.pptx
cuic standard and advanced reporting.pdf
Unlocking AI with Model Context Protocol (MCP)
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Big Data Technologies - Introduction.pptx

Azure Microservices in Practice - Radu Vunvulea