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 should be…
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
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

PPTX
The Real Life Story of an Iot framework,ITDevConnect 2016, Bucharest, Radu Vu...
PPTX
First 13 steps to be able to design an application for Azure Service Fabric
PPTX
First 13 steps to be able to design an application for Azure Service Fabric ...
PPTX
How to manage one million messages per second using Azure, Radu Vunvulea, Clo...
PPTX
Radu Vunvulea - Microsoft TechDay Baltic 2016 | First 13 steps to be able to ...
PPTX
Service Fabric – Microservices in Microsoft World, Radu Vunvulea 30 may 2016 ...
PPTX
How to migrate a monolithic system to microservices, Radu Vunvulea DevTalks, ...
PDF
Node @ flipkart
The Real Life Story of an Iot framework,ITDevConnect 2016, Bucharest, Radu Vu...
First 13 steps to be able to design an application for Azure Service Fabric
First 13 steps to be able to design an application for Azure Service Fabric ...
How to manage one million messages per second using Azure, Radu Vunvulea, Clo...
Radu Vunvulea - Microsoft TechDay Baltic 2016 | First 13 steps to be able to ...
Service Fabric – Microservices in Microsoft World, Radu Vunvulea 30 may 2016 ...
How to migrate a monolithic system to microservices, Radu Vunvulea DevTalks, ...
Node @ flipkart

What's hot (19)

PPTX
Webhooks & Asp.Net
PDF
Serverless computing con Azure Functions
PPTX
Azure functions
PDF
A Smarter World: The Mesh of Interconnected Devices and Artificial Intelligen...
PDF
Chris Anderson and Yochay Kiriaty - Serverless Patterns with Azure Functions
PDF
Serverless Empowering people
PPTX
The monster under the bed - overengineering the cloud 2020 am week
PPTX
Microservices in action: How to actually build them
PPTX
Azure Functions: Beginners to Advanced – Part 1
PDF
IoT and Serverless - AWS - Serverless Summit - Madhusudan Shekar
PDF
"Serverless: The Future of Software Architecture" by Jason Wihardja (Bizzy In...
PPTX
Microservices without servers
PPTX
THE MONSTER UNDER THE BED – OVERENGINEERING THE CLOUD
PPTX
Serverless Real-time Tracking & Analysis
PPTX
AWS summit 2016: Scale to 12,000,000 users with AWS
PDF
Which watcher watches CloudWatch
PPTX
Azure Dev/Test Labs
PPTX
Azure saturday Pordenone 2019 - ML.NET model lifecycle with azure devops
PDF
APIdays Paris 2018 - Deliver API Updates in Real Time with Mercure.rocks Kévi...
Webhooks & Asp.Net
Serverless computing con Azure Functions
Azure functions
A Smarter World: The Mesh of Interconnected Devices and Artificial Intelligen...
Chris Anderson and Yochay Kiriaty - Serverless Patterns with Azure Functions
Serverless Empowering people
The monster under the bed - overengineering the cloud 2020 am week
Microservices in action: How to actually build them
Azure Functions: Beginners to Advanced – Part 1
IoT and Serverless - AWS - Serverless Summit - Madhusudan Shekar
"Serverless: The Future of Software Architecture" by Jason Wihardja (Bizzy In...
Microservices without servers
THE MONSTER UNDER THE BED – OVERENGINEERING THE CLOUD
Serverless Real-time Tracking & Analysis
AWS summit 2016: Scale to 12,000,000 users with AWS
Which watcher watches CloudWatch
Azure Dev/Test Labs
Azure saturday Pordenone 2019 - ML.NET model lifecycle with azure devops
APIdays Paris 2018 - Deliver API Updates in Real Time with Mercure.rocks Kévi...
Ad

Similar to Azure Microservices in Practice, Radu Vunvulea, ITCamp 2016 (20)

PDF
Azure Microservices in Practice - Radu Vunvulea
PDF
Azure SQL Database From A Developer's Perspective - Alex Mang
PDF
Azure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
PDF
Everyone Loves Docker Containers Before They Understand Docker Containers - A...
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
PDF
The Fine Art of Time Travelling - Implementing Event Sourcing - Andrea Saltar...
PDF
Blockchain for mere mortals - understand the fundamentals and start building ...
PDF
Testing your PowerShell code with Pester - Florin Loghiade
PDF
ITCamp 2018 - Walter Belgers - Lockpicking and IT security
PPTX
Xamarin - Under the bridge
PDF
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
PDF
Xamarin Under The Hood - Dan Ardelean
PPTX
ITCamp 2019 - Mihai Tataran - Governing your Cloud Resources
PDF
A new world of possibilities for contextual awareness with beacons - Dan Arde...
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
Azure Microservices in Practice - Radu Vunvulea
Azure SQL Database From A Developer's Perspective - Alex Mang
Azure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
Everyone Loves Docker Containers Before They Understand Docker Containers - A...
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
The Fine Art of Time Travelling - Implementing Event Sourcing - Andrea Saltar...
Blockchain for mere mortals - understand the fundamentals and start building ...
Testing your PowerShell code with Pester - Florin Loghiade
ITCamp 2018 - Walter Belgers - Lockpicking and IT security
Xamarin - Under the bridge
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
Xamarin Under The Hood - Dan Ardelean
ITCamp 2019 - Mihai Tataran - Governing your Cloud Resources
A new world of possibilities for contextual awareness with beacons - Dan Arde...
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
Ad

Recently uploaded (20)

PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
KodekX | Application Modernization Development
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Empathic Computing: Creating Shared Understanding
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Machine learning based COVID-19 study performance prediction
PDF
Encapsulation theory and applications.pdf
PPTX
Cloud computing and distributed systems.
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
KodekX | Application Modernization Development
Review of recent advances in non-invasive hemoglobin estimation
Empathic Computing: Creating Shared Understanding
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Encapsulation_ Review paper, used for researhc scholars
Reach Out and Touch Someone: Haptics and Empathic Computing
Unlocking AI with Model Context Protocol (MCP)
Machine learning based COVID-19 study performance prediction
Encapsulation theory and applications.pdf
Cloud computing and distributed systems.
Per capita expenditure prediction using model stacking based on satellite ima...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
20250228 LYD VKU AI Blended-Learning.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
MYSQL Presentation for SQL database connectivity
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows

Azure Microservices in Practice, Radu Vunvulea, ITCamp 2016