SlideShare ist ein Scribd-Unternehmen logo
1 von 64
Downloaden Sie, um offline zu lesen
Premium conference on Microsoft technologies itcampro@ itcamp14#
Database and Public
Endpoints redundancy on
Azure
@RaduVunvulea, iQuest
http://vunvulearadu.blogspot.com
Premium conference on Microsoft technologies itcampro@ itcamp14#
Hello ITCamp!
RADU
VUNVULEA
MCTS MCP HOME AUTOMATION
MVP ENTERPRISE
AUTOMOTIVE PHARMA
LEAN AND AGILE E-COMMERCE
WEB iQuest
AZURE JAVASCRIPT VUNVULEARADU.BLOGSPOT.COM
MOBILE DOTNET @RaduVunvulea
WCF WPF ENTHUSIASTIC
Premium conference on Microsoft technologies itcampro@ itcamp14#
Huge thanks to our sponsors & partners!
Premium conference on Microsoft technologies itcampro@ itcamp14#
Cloud is not managed by God
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Define Redundancy
• SQL Database
• Storage
• Endpoints (HTTP/S, WCF)
• VM
Agenda
Premium conference on Microsoft technologies itcampro@ itcamp14#
Redundancy
Premium conference on Microsoft technologies itcampro@ itcamp14#
In engineering, redundancy is the duplication
of critical components or functions of a system
with the intention of increasing reliability of
the system, usually in the form of a backup or
fail-safe.
Source: Wikipedia
Redundancy
Premium conference on Microsoft technologies itcampro@ itcamp14#
Hardware
Dual Modular Redundancy
Triple Modular Redundancy
Information
Error detection
Correction
Time
Transient Fault Detection
Software
N-versions Programming
Type of Redundancy
Premium conference on Microsoft technologies itcampro@ itcamp14#
Hardware
Dual Modular Redundancy
Triple Modular Redundancy
Information
Error detection
Correction
Time
Transient Fault Detection
Software
N-versions Programming
Type of Redundancy
Premium conference on Microsoft technologies itcampro@ itcamp14#
Hardware
Dual Modular Redundancy
Triple Modular Redundancy
Information
Error detection
Correction
Time
Transient Fault Detection
Software
N-versions Programming
Type of Redundancy
Premium conference on Microsoft technologies itcampro@ itcamp14#
Hardware
Dual Modular Redundancy
Triple Modular Redundancy
Information
Error detection
Correction
Time
Transient Fault Detection
Software
N-versions Programming
Type of Redundancy
Premium conference on Microsoft technologies itcampro@ itcamp14#
HOW WE CAN TEST IT?
Premium conference on Microsoft technologies itcampro@ itcamp14#
Netflix: The Chaos Monkey’s job is to randomly
kill instances and services within our
architecture
Chaos Monkey
Premium conference on Microsoft technologies itcampro@ itcamp14#
Failover & Switchover
Premium conference on Microsoft technologies itcampro@ itcamp14#
Failover & Switchover
Premium conference on Microsoft technologies itcampro@ itcamp14#
SQL REDUDANCY
Premium conference on Microsoft technologies itcampro@ itcamp14#
SQL Data Sync
Premium conference on Microsoft technologies itcampro@ itcamp14#
DEMO
Let’s see some code
Premium conference on Microsoft technologies itcampro@ itcamp14#
SQL Backups
Premium conference on Microsoft technologies itcampro@ itcamp14#
DEMO
Let’s see some code
Premium conference on Microsoft technologies itcampro@ itcamp14#
AlwaysOn
Premium conference on Microsoft technologies itcampro@ itcamp14#
DISASTER RECOVERY PLAN
Premium conference on Microsoft technologies itcampro@ itcamp14#
Do you have a disaster recovery plan?
How long it takes to restart the entire system?
How complicated is your checklist?
Can you parallelize it?
Disaster Recovery Plan (DRP)
Premium conference on Microsoft technologies itcampro@ itcamp14#
Do you have a disaster recovery plan?
How long it takes to restart the entire system?
How complicated is your checklist?
Can you parallelize it?
AUTOMATION
Disaster Recovery Plan (DRP)
Premium conference on Microsoft technologies itcampro@ itcamp14#
ENDPOINT REDUNDANCY
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Any public endpoint
• Accessible from internet or private networks
Endpoint
Premium conference on Microsoft technologies itcampro@ itcamp14#
Load Balancer
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Free 
• Out of the box
• Lever 3 Load Balancer type
– TCP Level
• No Sticky sessions
• Partial Configurable
Load Balancer
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Custom app endpoint
• Processor level, 500 Errors, Parallel task
• Configurable from *.cscfg files
• VM: Using Power Shell
Load Balancer Probe
<LoadBalancerProbes> <LoadBalancerProbe
name="FooProbe" protocol="http"
intervalInSeconds="30" path="/api/probe" port="80"
timeoutInSeconds="60" /> </LoadBalancerProbes>
Premium conference on Microsoft technologies itcampro@ itcamp14#
Redundancy
Premium conference on Microsoft technologies itcampro@ itcamp14#
Traffic Manager
Premium conference on Microsoft technologies itcampro@ itcamp14#
Traffic Manager
Premium conference on Microsoft technologies itcampro@ itcamp14#
Traffic Manager
• ~Load Balancer (Word Wide level)
• Redirect request based on client location
• Any kind of endpoint
– VM, Web/Worker Roles, DB and many more
– External Endpoints
• Methods: Failover, Round Robin, Performance
• Is not FREE (1B DNS query = $0.75)
• DNS TTL
Premium conference on Microsoft technologies itcampro@ itcamp14#
DEMO
Let’s see some code
Premium conference on Microsoft technologies itcampro@ itcamp14#
Traffic Manager
• [Not Supported] Hybrid Scenarios
Premium conference on Microsoft technologies itcampro@ itcamp14#
WHY REDUNDANCY IS SO
IMPORTANT?
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Compute 99.95%
• SQL Database 99.90%
• Storage 99.90%
• Storage (RA-GRS) 99.99%
• Active Directory 99.90%
• Cache 99.90%
• VM 99.95%
• Service Bus 99.95%
Windows Azure SLA’s
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Compute 99.95% 21.6m
• SQL Database 99.90% 43.2m
• Storage 99.90% 43.2m
• Storage (RA-GRS) 99.99% <8m
• Active Directory 99.90% 43.2m
• Cache 99.90% 43.2m
• VM 99.95% 21.6m
• Service Bus 99.95% 21.6m
Windows Azure SLA’s (per month)
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Compute 99.95% 21.6m
• SQL Database 99.90% 43.2m
• Storage 99.90% 43.2m
• Storage (RA-GRS) 99.99% <8m
• Active Directory 99.90% 43.2m
• Cache 99.90% 43.2m
• VM 99.95% 21.6m
• Service Bus 99.95% 21.6m
Windows Azure SLA’s
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Downtime per month: 216m
21.6*2+43.2*4=216m
Windows Azure SLA’s
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Downtime per month: 216m
21.6*2+43.2*4=216m
• Downtime per month: 0.5%
(100/43200)*216=0.5%
Windows Azure SLA’s
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Downtime per month: 216m
21.6*2+43.2*4=216m
• Downtime per month: 0.5%
(100/43200)*216=0.5%
• Uptime: 99.5%
100-0.5=99.5%
Windows Azure SLA’s
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Compute 99.95% 21.6m
• SQL Database 99.90% 43.2m
• Storage 99.90% 43.2m
• Storage (RA-GRS) 99.99% <8m
• Active Directory 99.90% 43.2m
• Cache 99.90% 43.2m
• VM 99.95% 21.6m
• Service Bus 99.95% 21.6m
Windows Azure SLA’s
Premium conference on Microsoft technologies itcampro@ itcamp14#
WCF ENDPOINTS REDUNDANCY
Premium conference on Microsoft technologies itcampro@ itcamp14#
Service Bus Relay
Relay
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Steps to integrate in existing application
– Add assembly reference to SB Relay
– Update WCF configuration sections
(client and backend)
Service Bus Relay
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Works only with
– Async calls
– Fire and Forget calls
• Broker between endpoint and client
• Store messages until backend is available
• WCF Endpoint (Azure or on-premises)
• Price model similar with SB (per messages)
Service Bus Relay
Premium conference on Microsoft technologies itcampro@ itcamp14#
STORAGE REDUNDANCY
Premium conference on Microsoft technologies itcampro@ itcamp14#
• 3 copy of the content in the same data center
Locally Redundant Storage
1
3
2
Premium conference on Microsoft technologies itcampro@ itcamp14#
• 2 different data centers
• Async replication
Geographically Redundant Storage
1
3
2
1
3
2
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Similar with GRS
• Read only access to the secondary storage
• Redirecting managed by developer
• Async replication
• 99.99% Uptime
Read Access Geo Redundant Storage
Premium conference on Microsoft technologies itcampro@ itcamp14#
DEMO
Let’s see some code
Premium conference on Microsoft technologies itcampro@ itcamp14#
Traffic Manager
Premium conference on Microsoft technologies itcampro@ itcamp14#
CHECK HEALTH STATUS OF
OTHER SERVICES
Traffic Manager
Premium conference on Microsoft technologies itcampro@ itcamp14#
Import Export Service
Premium conference on Microsoft technologies itcampro@ itcamp14#
Import/Export Service
Premium conference on Microsoft technologies itcampro@ itcamp14#
DEMO
Let’s see some code
Premium conference on Microsoft technologies itcampro@ itcamp14#
MTBF, MTTR
Premium conference on Microsoft technologies itcampro@ itcamp14#
Mean Time Between Failures
Mean Time To Recovery
MTBF -> MTTR
Premium conference on Microsoft technologies itcampro@ itcamp14#
VM REDUNDANCY
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Same features offered by System Center on-
premises
• Availability Set
• Windows Server Failover Cluster
– Real time Sync
VM
Premium conference on Microsoft technologies itcampro@ itcamp14#
CONCLUSION
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Everything has a price
• Calculate up-time for specific roles and use-
case
• Don’t trust the 99.99% myth
• Be as flexible as possible
• Automate
• Recovery plans
Conclusion
Premium conference on Microsoft technologies itcampro@ itcamp14#
Q & A

Weitere ähnliche Inhalte

Was ist angesagt?

Not so FaaS, Streaming ML with Kafka! (Praveen Hirsave, VRBO) Kafka Summit Lo...
Not so FaaS, Streaming ML with Kafka! (Praveen Hirsave, VRBO) Kafka Summit Lo...Not so FaaS, Streaming ML with Kafka! (Praveen Hirsave, VRBO) Kafka Summit Lo...
Not so FaaS, Streaming ML with Kafka! (Praveen Hirsave, VRBO) Kafka Summit Lo...
confluent
 
Mq light For Guide Share Europe 2014
Mq light For Guide Share Europe 2014Mq light For Guide Share Europe 2014
Mq light For Guide Share Europe 2014
Robert Nicholson
 

Was ist angesagt? (20)

MuleSoft Meetup Roma - CloudHub Networking Stategies
MuleSoft Meetup Roma -  CloudHub Networking StategiesMuleSoft Meetup Roma -  CloudHub Networking Stategies
MuleSoft Meetup Roma - CloudHub Networking Stategies
 
Introducing IBM Message Hub: Cloud-scale messaging based on Apache Kafka
Introducing IBM Message Hub: Cloud-scale messaging based on Apache KafkaIntroducing IBM Message Hub: Cloud-scale messaging based on Apache Kafka
Introducing IBM Message Hub: Cloud-scale messaging based on Apache Kafka
 
GWC : MQ Light - from monolith to Microservices for speed and scale
GWC : MQ Light - from monolith to Microservices for speed and scaleGWC : MQ Light - from monolith to Microservices for speed and scale
GWC : MQ Light - from monolith to Microservices for speed and scale
 
IBM Message Hub: Cloud-Native Messaging
IBM Message Hub: Cloud-Native MessagingIBM Message Hub: Cloud-Native Messaging
IBM Message Hub: Cloud-Native Messaging
 
Not so FaaS, Streaming ML with Kafka! (Praveen Hirsave, VRBO) Kafka Summit Lo...
Not so FaaS, Streaming ML with Kafka! (Praveen Hirsave, VRBO) Kafka Summit Lo...Not so FaaS, Streaming ML with Kafka! (Praveen Hirsave, VRBO) Kafka Summit Lo...
Not so FaaS, Streaming ML with Kafka! (Praveen Hirsave, VRBO) Kafka Summit Lo...
 
Mq light For Guide Share Europe 2014
Mq light For Guide Share Europe 2014Mq light For Guide Share Europe 2014
Mq light For Guide Share Europe 2014
 
Cloud based Performance Testing
Cloud based Performance TestingCloud based Performance Testing
Cloud based Performance Testing
 
Effectively Managing a Hybrid Messaging Environment
Effectively Managing a Hybrid Messaging EnvironmentEffectively Managing a Hybrid Messaging Environment
Effectively Managing a Hybrid Messaging Environment
 
Netapp HCI + Veeam Availability Platform
Netapp HCI + Veeam Availability PlatformNetapp HCI + Veeam Availability Platform
Netapp HCI + Veeam Availability Platform
 
Cloud-based performance testing
Cloud-based performance testingCloud-based performance testing
Cloud-based performance testing
 
VMworld 2015: Day to Day Automation of VMware Products to Increase Productivi...
VMworld 2015: Day to Day Automation of VMware Products to Increase Productivi...VMworld 2015: Day to Day Automation of VMware Products to Increase Productivi...
VMworld 2015: Day to Day Automation of VMware Products to Increase Productivi...
 
Kafka with IBM Event Streams - Technical Presentation
Kafka with IBM Event Streams - Technical PresentationKafka with IBM Event Streams - Technical Presentation
Kafka with IBM Event Streams - Technical Presentation
 
Introducing MQ Light - IBM Interconnect 2015 session AME4181
Introducing MQ Light - IBM Interconnect 2015 session AME4181Introducing MQ Light - IBM Interconnect 2015 session AME4181
Introducing MQ Light - IBM Interconnect 2015 session AME4181
 
MQ Light in IBM MQ: IBM Interconnect 2015 session AME4182
MQ Light in IBM MQ:  IBM Interconnect 2015 session AME4182MQ Light in IBM MQ:  IBM Interconnect 2015 session AME4182
MQ Light in IBM MQ: IBM Interconnect 2015 session AME4182
 
Hitting the Enterprise Sweet Spot—A Real-World View of PKS Deployment and Suc...
Hitting the Enterprise Sweet Spot—A Real-World View of PKS Deployment and Suc...Hitting the Enterprise Sweet Spot—A Real-World View of PKS Deployment and Suc...
Hitting the Enterprise Sweet Spot—A Real-World View of PKS Deployment and Suc...
 
Kube Your Enthusiasm - Paul Czarkowski
Kube Your Enthusiasm - Paul CzarkowskiKube Your Enthusiasm - Paul Czarkowski
Kube Your Enthusiasm - Paul Czarkowski
 
Zeebe - a Microservice Orchestration Engine
Zeebe - a Microservice Orchestration Engine Zeebe - a Microservice Orchestration Engine
Zeebe - a Microservice Orchestration Engine
 
VMworld 2015: No App is An Island
VMworld 2015: No App is An IslandVMworld 2015: No App is An Island
VMworld 2015: No App is An Island
 
Gorillas in the mist
Gorillas in the mistGorillas in the mist
Gorillas in the mist
 
IBM MQ and Kafka, what is the difference?
IBM MQ and Kafka, what is the difference?IBM MQ and Kafka, what is the difference?
IBM MQ and Kafka, what is the difference?
 

Ähnlich wie Database and Public EndPoints Redundancy on Azure (Radu Vunvulea)

ITCamp 2013 - Radu Vunvulea - Messaging Patterns in the Cloud
ITCamp 2013 - Radu Vunvulea - Messaging Patterns in the CloudITCamp 2013 - Radu Vunvulea - Messaging Patterns in the Cloud
ITCamp 2013 - Radu Vunvulea - Messaging Patterns in the Cloud
ITCamp
 
ITCamp 2013 - Lorant Domokos - Chasing the one codebase, multiple platforms d...
ITCamp 2013 - Lorant Domokos - Chasing the one codebase, multiple platforms d...ITCamp 2013 - Lorant Domokos - Chasing the one codebase, multiple platforms d...
ITCamp 2013 - Lorant Domokos - Chasing the one codebase, multiple platforms d...
ITCamp
 
ITCamp 2011 - Cristian Lefter - SQL Server code-name Denali
ITCamp 2011 - Cristian Lefter - SQL Server code-name DenaliITCamp 2011 - Cristian Lefter - SQL Server code-name Denali
ITCamp 2011 - Cristian Lefter - SQL Server code-name Denali
ITCamp
 
ITCamp 2011 - Mihai Tataran - Migrating to Azure
ITCamp 2011 - Mihai Tataran - Migrating to AzureITCamp 2011 - Mihai Tataran - Migrating to Azure
ITCamp 2011 - Mihai Tataran - Migrating to Azure
ITCamp
 
ITCamp 2012 - Dan Fizesan - Serving 10 million requests per day
ITCamp 2012 - Dan Fizesan - Serving 10 million requests per dayITCamp 2012 - Dan Fizesan - Serving 10 million requests per day
ITCamp 2012 - Dan Fizesan - Serving 10 million requests per day
ITCamp
 
ITCamp 2013 - Mihai Tataran - Building Autoscalable Azure Applications
ITCamp 2013 - Mihai Tataran - Building Autoscalable Azure ApplicationsITCamp 2013 - Mihai Tataran - Building Autoscalable Azure Applications
ITCamp 2013 - Mihai Tataran - Building Autoscalable Azure Applications
ITCamp
 
ITCamp 2013 - Martin Kulov - Demystifying Visual Studio 2012 Performance Tools
ITCamp 2013 - Martin Kulov - Demystifying Visual Studio 2012 Performance ToolsITCamp 2013 - Martin Kulov - Demystifying Visual Studio 2012 Performance Tools
ITCamp 2013 - Martin Kulov - Demystifying Visual Studio 2012 Performance Tools
ITCamp
 
ITCamp 2011 - Mihai Nadas - Windows Azure interop
ITCamp 2011 - Mihai Nadas - Windows Azure interopITCamp 2011 - Mihai Nadas - Windows Azure interop
ITCamp 2011 - Mihai Nadas - Windows Azure interop
ITCamp
 
ITCamp 2013 - Melania Danciu - HTML5 apps with LightSwitch
ITCamp 2013 - Melania Danciu - HTML5 apps with LightSwitchITCamp 2013 - Melania Danciu - HTML5 apps with LightSwitch
ITCamp 2013 - Melania Danciu - HTML5 apps with LightSwitch
ITCamp
 

Ähnlich wie Database and Public EndPoints Redundancy on Azure (Radu Vunvulea) (20)

Patterns for Scalability in Windows Azure Applications (Alex Mang)
Patterns for Scalability in Windows Azure Applications (Alex Mang)Patterns for Scalability in Windows Azure Applications (Alex Mang)
Patterns for Scalability in Windows Azure Applications (Alex Mang)
 
The New Era of Code in the Cloud (Bogdan Toporan)
The New Era of Code in the Cloud (Bogdan Toporan)The New Era of Code in the Cloud (Bogdan Toporan)
The New Era of Code in the Cloud (Bogdan Toporan)
 
How # (sharp) is Your Katana (Ciprian Jichici)
How # (sharp) is Your Katana (Ciprian Jichici)How # (sharp) is Your Katana (Ciprian Jichici)
How # (sharp) is Your Katana (Ciprian Jichici)
 
Cloudbursting VDI Scenarios (Tiberiu Radu)
Cloudbursting VDI Scenarios (Tiberiu Radu)Cloudbursting VDI Scenarios (Tiberiu Radu)
Cloudbursting VDI Scenarios (Tiberiu Radu)
 
Azure SQL Database From A Developer's Perspective - Alex Mang
Azure SQL Database From A Developer's Perspective - Alex MangAzure SQL Database From A Developer's Perspective - Alex Mang
Azure SQL Database From A Developer's Perspective - Alex Mang
 
ITCamp 2013 - Radu Vunvulea - Messaging Patterns in the Cloud
ITCamp 2013 - Radu Vunvulea - Messaging Patterns in the CloudITCamp 2013 - Radu Vunvulea - Messaging Patterns in the Cloud
ITCamp 2013 - Radu Vunvulea - Messaging Patterns in the Cloud
 
Messaging patterns in the cloud
Messaging patterns in the cloudMessaging patterns in the cloud
Messaging patterns in the cloud
 
ITCamp 2013 - Lorant Domokos - Chasing the one codebase, multiple platforms d...
ITCamp 2013 - Lorant Domokos - Chasing the one codebase, multiple platforms d...ITCamp 2013 - Lorant Domokos - Chasing the one codebase, multiple platforms d...
ITCamp 2013 - Lorant Domokos - Chasing the one codebase, multiple platforms d...
 
ITCamp 2011 - Cristian Lefter - SQL Server code-name Denali
ITCamp 2011 - Cristian Lefter - SQL Server code-name DenaliITCamp 2011 - Cristian Lefter - SQL Server code-name Denali
ITCamp 2011 - Cristian Lefter - SQL Server code-name Denali
 
ITCamp 2011 - Mihai Tataran - Migrating to Azure
ITCamp 2011 - Mihai Tataran - Migrating to AzureITCamp 2011 - Mihai Tataran - Migrating to Azure
ITCamp 2011 - Mihai Tataran - Migrating to Azure
 
Busy Developers Guide to AngularJS (Tiberiu Covaci)
Busy Developers Guide to AngularJS (Tiberiu Covaci)Busy Developers Guide to AngularJS (Tiberiu Covaci)
Busy Developers Guide to AngularJS (Tiberiu Covaci)
 
Elements of DDD with ASP.NET MVC & Entity Framework Code First v2
Elements of DDD with ASP.NET MVC & Entity Framework Code First v2Elements of DDD with ASP.NET MVC & Entity Framework Code First v2
Elements of DDD with ASP.NET MVC & Entity Framework Code First v2
 
ITCamp 2012 - Dan Fizesan - Serving 10 million requests per day
ITCamp 2012 - Dan Fizesan - Serving 10 million requests per dayITCamp 2012 - Dan Fizesan - Serving 10 million requests per day
ITCamp 2012 - Dan Fizesan - Serving 10 million requests per day
 
Azure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
Azure tales: a real world CQRS and ES Deep Dive - Andrea SaltarelloAzure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
Azure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
 
ITCamp 2013 - Mihai Tataran - Building Autoscalable Azure Applications
ITCamp 2013 - Mihai Tataran - Building Autoscalable Azure ApplicationsITCamp 2013 - Mihai Tataran - Building Autoscalable Azure Applications
ITCamp 2013 - Mihai Tataran - Building Autoscalable Azure Applications
 
ITCamp 2013 - Martin Kulov - Demystifying Visual Studio 2012 Performance Tools
ITCamp 2013 - Martin Kulov - Demystifying Visual Studio 2012 Performance ToolsITCamp 2013 - Martin Kulov - Demystifying Visual Studio 2012 Performance Tools
ITCamp 2013 - Martin Kulov - Demystifying Visual Studio 2012 Performance Tools
 
Everyone Loves Docker Containers Before They Understand Docker Containers - A...
Everyone Loves Docker Containers Before They Understand Docker Containers - A...Everyone Loves Docker Containers Before They Understand Docker Containers - A...
Everyone Loves Docker Containers Before They Understand Docker Containers - A...
 
ITCamp 2011 - Mihai Nadas - Windows Azure interop
ITCamp 2011 - Mihai Nadas - Windows Azure interopITCamp 2011 - Mihai Nadas - Windows Azure interop
ITCamp 2011 - Mihai Nadas - Windows Azure interop
 
ITCamp 2013 - Melania Danciu - HTML5 apps with LightSwitch
ITCamp 2013 - Melania Danciu - HTML5 apps with LightSwitchITCamp 2013 - Melania Danciu - HTML5 apps with LightSwitch
ITCamp 2013 - Melania Danciu - HTML5 apps with LightSwitch
 
What's New in Hyper-V 2016 - Thomas Maurer
What's New in Hyper-V 2016 - Thomas MaurerWhat's New in Hyper-V 2016 - Thomas Maurer
What's New in Hyper-V 2016 - Thomas Maurer
 

Mehr von ITCamp

ITCamp 2019 - Ivana Milicic - Color - The Shadow Ruler of UX
ITCamp 2019 - Ivana Milicic - Color - The Shadow Ruler of UXITCamp 2019 - Ivana Milicic - Color - The Shadow Ruler of UX
ITCamp 2019 - Ivana Milicic - Color - The Shadow Ruler of UX
ITCamp
 

Mehr von ITCamp (20)

ITCamp 2019 - Stacey M. Jenkins - Protecting your company's data - By psychol...
ITCamp 2019 - Stacey M. Jenkins - Protecting your company's data - By psychol...ITCamp 2019 - Stacey M. Jenkins - Protecting your company's data - By psychol...
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 - Silviu Niculita - Supercharge your AI efforts with the use of A...ITCamp 2019 - Silviu Niculita - Supercharge your AI efforts with the use of A...
ITCamp 2019 - Silviu Niculita - Supercharge your AI efforts with the use of A...
 
ITCamp 2019 - Peter Leeson - Managing Skills
ITCamp 2019 - Peter Leeson - Managing SkillsITCamp 2019 - Peter Leeson - Managing Skills
ITCamp 2019 - Peter Leeson - Managing Skills
 
ITCamp 2019 - Mihai Tataran - Governing your Cloud Resources
ITCamp 2019 - Mihai Tataran - Governing your Cloud ResourcesITCamp 2019 - Mihai Tataran - Governing your Cloud Resources
ITCamp 2019 - Mihai Tataran - Governing your Cloud Resources
 
ITCamp 2019 - Ivana Milicic - Color - The Shadow Ruler of UX
ITCamp 2019 - Ivana Milicic - Color - The Shadow Ruler of UXITCamp 2019 - Ivana Milicic - Color - The Shadow Ruler of UX
ITCamp 2019 - Ivana Milicic - Color - The Shadow Ruler of UX
 
ITCamp 2019 - Florin Coros - Implementing Clean Architecture
ITCamp 2019 - Florin Coros - Implementing Clean ArchitectureITCamp 2019 - Florin Coros - Implementing Clean Architecture
ITCamp 2019 - Florin Coros - Implementing Clean Architecture
 
ITCamp 2019 - Florin Loghiade - Azure Kubernetes in Production - Field notes...
ITCamp 2019 - Florin Loghiade -  Azure Kubernetes in Production - Field notes...ITCamp 2019 - Florin Loghiade -  Azure Kubernetes in Production - Field notes...
ITCamp 2019 - Florin Loghiade - Azure Kubernetes in Production - Field notes...
 
ITCamp 2019 - Florin Flestea - How 3rd Level support experience influenced m...
ITCamp 2019 - Florin Flestea -  How 3rd Level support experience influenced m...ITCamp 2019 - Florin Flestea -  How 3rd Level support experience influenced m...
ITCamp 2019 - Florin Flestea - How 3rd Level support experience influenced m...
 
ITCamp 2019 - Emil Craciun - RoboRestaurant of the future powered by serverle...
ITCamp 2019 - Emil Craciun - RoboRestaurant of the future powered by serverle...ITCamp 2019 - Emil Craciun - RoboRestaurant of the future powered by serverle...
ITCamp 2019 - Emil Craciun - RoboRestaurant of the future powered by serverle...
 
ITCamp 2019 - Eldert Grootenboer - Cloud Architecture Recipes for The Enterprise
ITCamp 2019 - Eldert Grootenboer - Cloud Architecture Recipes for The EnterpriseITCamp 2019 - Eldert Grootenboer - Cloud Architecture Recipes for The Enterprise
ITCamp 2019 - Eldert Grootenboer - Cloud Architecture Recipes for The Enterprise
 
ITCamp 2019 - Cristiana Fernbach - Blockchain Legal Trends
ITCamp 2019 - Cristiana Fernbach - Blockchain Legal TrendsITCamp 2019 - Cristiana Fernbach - Blockchain Legal Trends
ITCamp 2019 - Cristiana Fernbach - Blockchain Legal Trends
 
ITCamp 2019 - Andy Cross - Machine Learning with ML.NET and Azure Data Lake
ITCamp 2019 - Andy Cross - Machine Learning with ML.NET and Azure Data LakeITCamp 2019 - Andy Cross - Machine Learning with ML.NET and Azure Data Lake
ITCamp 2019 - Andy Cross - Machine Learning with ML.NET and Azure Data Lake
 
ITCamp 2019 - Andy Cross - Business Outcomes from AI
ITCamp 2019 - Andy Cross - Business Outcomes from AIITCamp 2019 - Andy Cross - Business Outcomes from AI
ITCamp 2019 - Andy Cross - Business Outcomes from AI
 
ITCamp 2019 - Andrea Saltarello - Modernise your app. The Cloud Story
ITCamp 2019 - Andrea Saltarello - Modernise your app. The Cloud StoryITCamp 2019 - Andrea Saltarello - Modernise your app. The Cloud Story
ITCamp 2019 - Andrea Saltarello - Modernise your app. The Cloud Story
 
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
 
ITCamp 2019 - Alex Mang - I'm Confused Should I Orchestrate my Containers on ...
ITCamp 2019 - Alex Mang - I'm Confused Should I Orchestrate my Containers on ...ITCamp 2019 - Alex Mang - I'm Confused Should I Orchestrate my Containers on ...
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 - Alex Mang - How Far Can Serverless Actually Go NowITCamp 2019 - Alex Mang - How Far Can Serverless Actually Go Now
ITCamp 2019 - Alex Mang - How Far Can Serverless Actually Go Now
 
ITCamp 2019 - Peter Leeson - Vitruvian Quality
ITCamp 2019 - Peter Leeson - Vitruvian QualityITCamp 2019 - Peter Leeson - Vitruvian Quality
ITCamp 2019 - Peter Leeson - Vitruvian Quality
 
ITCamp 2018 - Ciprian Sorlea - Million Dollars Hello World Application
ITCamp 2018 - Ciprian Sorlea - Million Dollars Hello World ApplicationITCamp 2018 - Ciprian Sorlea - Million Dollars Hello World Application
ITCamp 2018 - Ciprian Sorlea - Million Dollars Hello World Application
 
ITCamp 2018 - Ciprian Sorlea - Enterprise Architectures with TypeScript And F...
ITCamp 2018 - Ciprian Sorlea - Enterprise Architectures with TypeScript And F...ITCamp 2018 - Ciprian Sorlea - Enterprise Architectures with TypeScript And F...
ITCamp 2018 - Ciprian Sorlea - Enterprise Architectures with TypeScript And F...
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 

Database and Public EndPoints Redundancy on Azure (Radu Vunvulea)

  • 1. Premium conference on Microsoft technologies itcampro@ itcamp14# Database and Public Endpoints redundancy on Azure @RaduVunvulea, iQuest http://vunvulearadu.blogspot.com
  • 2. Premium conference on Microsoft technologies itcampro@ itcamp14# Hello ITCamp! RADU VUNVULEA MCTS MCP HOME AUTOMATION MVP ENTERPRISE AUTOMOTIVE PHARMA LEAN AND AGILE E-COMMERCE WEB iQuest AZURE JAVASCRIPT VUNVULEARADU.BLOGSPOT.COM MOBILE DOTNET @RaduVunvulea WCF WPF ENTHUSIASTIC
  • 3. Premium conference on Microsoft technologies itcampro@ itcamp14# Huge thanks to our sponsors & partners!
  • 4. Premium conference on Microsoft technologies itcampro@ itcamp14# Cloud is not managed by God
  • 5. Premium conference on Microsoft technologies itcampro@ itcamp14# • Define Redundancy • SQL Database • Storage • Endpoints (HTTP/S, WCF) • VM Agenda
  • 6. Premium conference on Microsoft technologies itcampro@ itcamp14# Redundancy
  • 7. Premium conference on Microsoft technologies itcampro@ itcamp14# In engineering, redundancy is the duplication of critical components or functions of a system with the intention of increasing reliability of the system, usually in the form of a backup or fail-safe. Source: Wikipedia Redundancy
  • 8. Premium conference on Microsoft technologies itcampro@ itcamp14# Hardware Dual Modular Redundancy Triple Modular Redundancy Information Error detection Correction Time Transient Fault Detection Software N-versions Programming Type of Redundancy
  • 9. Premium conference on Microsoft technologies itcampro@ itcamp14# Hardware Dual Modular Redundancy Triple Modular Redundancy Information Error detection Correction Time Transient Fault Detection Software N-versions Programming Type of Redundancy
  • 10. Premium conference on Microsoft technologies itcampro@ itcamp14# Hardware Dual Modular Redundancy Triple Modular Redundancy Information Error detection Correction Time Transient Fault Detection Software N-versions Programming Type of Redundancy
  • 11. Premium conference on Microsoft technologies itcampro@ itcamp14# Hardware Dual Modular Redundancy Triple Modular Redundancy Information Error detection Correction Time Transient Fault Detection Software N-versions Programming Type of Redundancy
  • 12. Premium conference on Microsoft technologies itcampro@ itcamp14# HOW WE CAN TEST IT?
  • 13. Premium conference on Microsoft technologies itcampro@ itcamp14# Netflix: The Chaos Monkey’s job is to randomly kill instances and services within our architecture Chaos Monkey
  • 14. Premium conference on Microsoft technologies itcampro@ itcamp14# Failover & Switchover
  • 15. Premium conference on Microsoft technologies itcampro@ itcamp14# Failover & Switchover
  • 16. Premium conference on Microsoft technologies itcampro@ itcamp14# SQL REDUDANCY
  • 17. Premium conference on Microsoft technologies itcampro@ itcamp14# SQL Data Sync
  • 18. Premium conference on Microsoft technologies itcampro@ itcamp14# DEMO Let’s see some code
  • 19. Premium conference on Microsoft technologies itcampro@ itcamp14# SQL Backups
  • 20. Premium conference on Microsoft technologies itcampro@ itcamp14# DEMO Let’s see some code
  • 21. Premium conference on Microsoft technologies itcampro@ itcamp14# AlwaysOn
  • 22. Premium conference on Microsoft technologies itcampro@ itcamp14# DISASTER RECOVERY PLAN
  • 23. Premium conference on Microsoft technologies itcampro@ itcamp14# Do you have a disaster recovery plan? How long it takes to restart the entire system? How complicated is your checklist? Can you parallelize it? Disaster Recovery Plan (DRP)
  • 24. Premium conference on Microsoft technologies itcampro@ itcamp14# Do you have a disaster recovery plan? How long it takes to restart the entire system? How complicated is your checklist? Can you parallelize it? AUTOMATION Disaster Recovery Plan (DRP)
  • 25. Premium conference on Microsoft technologies itcampro@ itcamp14# ENDPOINT REDUNDANCY
  • 26. Premium conference on Microsoft technologies itcampro@ itcamp14# • Any public endpoint • Accessible from internet or private networks Endpoint
  • 27. Premium conference on Microsoft technologies itcampro@ itcamp14# Load Balancer
  • 28. Premium conference on Microsoft technologies itcampro@ itcamp14# • Free  • Out of the box • Lever 3 Load Balancer type – TCP Level • No Sticky sessions • Partial Configurable Load Balancer
  • 29. Premium conference on Microsoft technologies itcampro@ itcamp14# • Custom app endpoint • Processor level, 500 Errors, Parallel task • Configurable from *.cscfg files • VM: Using Power Shell Load Balancer Probe <LoadBalancerProbes> <LoadBalancerProbe name="FooProbe" protocol="http" intervalInSeconds="30" path="/api/probe" port="80" timeoutInSeconds="60" /> </LoadBalancerProbes>
  • 30. Premium conference on Microsoft technologies itcampro@ itcamp14# Redundancy
  • 31. Premium conference on Microsoft technologies itcampro@ itcamp14# Traffic Manager
  • 32. Premium conference on Microsoft technologies itcampro@ itcamp14# Traffic Manager
  • 33. Premium conference on Microsoft technologies itcampro@ itcamp14# Traffic Manager • ~Load Balancer (Word Wide level) • Redirect request based on client location • Any kind of endpoint – VM, Web/Worker Roles, DB and many more – External Endpoints • Methods: Failover, Round Robin, Performance • Is not FREE (1B DNS query = $0.75) • DNS TTL
  • 34. Premium conference on Microsoft technologies itcampro@ itcamp14# DEMO Let’s see some code
  • 35. Premium conference on Microsoft technologies itcampro@ itcamp14# Traffic Manager • [Not Supported] Hybrid Scenarios
  • 36. Premium conference on Microsoft technologies itcampro@ itcamp14# WHY REDUNDANCY IS SO IMPORTANT?
  • 37. Premium conference on Microsoft technologies itcampro@ itcamp14# • Compute 99.95% • SQL Database 99.90% • Storage 99.90% • Storage (RA-GRS) 99.99% • Active Directory 99.90% • Cache 99.90% • VM 99.95% • Service Bus 99.95% Windows Azure SLA’s
  • 38. Premium conference on Microsoft technologies itcampro@ itcamp14# • Compute 99.95% 21.6m • SQL Database 99.90% 43.2m • Storage 99.90% 43.2m • Storage (RA-GRS) 99.99% <8m • Active Directory 99.90% 43.2m • Cache 99.90% 43.2m • VM 99.95% 21.6m • Service Bus 99.95% 21.6m Windows Azure SLA’s (per month)
  • 39. Premium conference on Microsoft technologies itcampro@ itcamp14# • Compute 99.95% 21.6m • SQL Database 99.90% 43.2m • Storage 99.90% 43.2m • Storage (RA-GRS) 99.99% <8m • Active Directory 99.90% 43.2m • Cache 99.90% 43.2m • VM 99.95% 21.6m • Service Bus 99.95% 21.6m Windows Azure SLA’s
  • 40. Premium conference on Microsoft technologies itcampro@ itcamp14# • Downtime per month: 216m 21.6*2+43.2*4=216m Windows Azure SLA’s
  • 41. Premium conference on Microsoft technologies itcampro@ itcamp14# • Downtime per month: 216m 21.6*2+43.2*4=216m • Downtime per month: 0.5% (100/43200)*216=0.5% Windows Azure SLA’s
  • 42. Premium conference on Microsoft technologies itcampro@ itcamp14# • Downtime per month: 216m 21.6*2+43.2*4=216m • Downtime per month: 0.5% (100/43200)*216=0.5% • Uptime: 99.5% 100-0.5=99.5% Windows Azure SLA’s
  • 43. Premium conference on Microsoft technologies itcampro@ itcamp14# • Compute 99.95% 21.6m • SQL Database 99.90% 43.2m • Storage 99.90% 43.2m • Storage (RA-GRS) 99.99% <8m • Active Directory 99.90% 43.2m • Cache 99.90% 43.2m • VM 99.95% 21.6m • Service Bus 99.95% 21.6m Windows Azure SLA’s
  • 44. Premium conference on Microsoft technologies itcampro@ itcamp14# WCF ENDPOINTS REDUNDANCY
  • 45. Premium conference on Microsoft technologies itcampro@ itcamp14# Service Bus Relay Relay
  • 46. Premium conference on Microsoft technologies itcampro@ itcamp14# • Steps to integrate in existing application – Add assembly reference to SB Relay – Update WCF configuration sections (client and backend) Service Bus Relay
  • 47. Premium conference on Microsoft technologies itcampro@ itcamp14# • Works only with – Async calls – Fire and Forget calls • Broker between endpoint and client • Store messages until backend is available • WCF Endpoint (Azure or on-premises) • Price model similar with SB (per messages) Service Bus Relay
  • 48. Premium conference on Microsoft technologies itcampro@ itcamp14# STORAGE REDUNDANCY
  • 49. Premium conference on Microsoft technologies itcampro@ itcamp14# • 3 copy of the content in the same data center Locally Redundant Storage 1 3 2
  • 50. Premium conference on Microsoft technologies itcampro@ itcamp14# • 2 different data centers • Async replication Geographically Redundant Storage 1 3 2 1 3 2
  • 51. Premium conference on Microsoft technologies itcampro@ itcamp14# • Similar with GRS • Read only access to the secondary storage • Redirecting managed by developer • Async replication • 99.99% Uptime Read Access Geo Redundant Storage
  • 52. Premium conference on Microsoft technologies itcampro@ itcamp14# DEMO Let’s see some code
  • 53. Premium conference on Microsoft technologies itcampro@ itcamp14# Traffic Manager
  • 54. Premium conference on Microsoft technologies itcampro@ itcamp14# CHECK HEALTH STATUS OF OTHER SERVICES Traffic Manager
  • 55. Premium conference on Microsoft technologies itcampro@ itcamp14# Import Export Service
  • 56. Premium conference on Microsoft technologies itcampro@ itcamp14# Import/Export Service
  • 57. Premium conference on Microsoft technologies itcampro@ itcamp14# DEMO Let’s see some code
  • 58. Premium conference on Microsoft technologies itcampro@ itcamp14# MTBF, MTTR
  • 59. Premium conference on Microsoft technologies itcampro@ itcamp14# Mean Time Between Failures Mean Time To Recovery MTBF -> MTTR
  • 60. Premium conference on Microsoft technologies itcampro@ itcamp14# VM REDUNDANCY
  • 61. Premium conference on Microsoft technologies itcampro@ itcamp14# • Same features offered by System Center on- premises • Availability Set • Windows Server Failover Cluster – Real time Sync VM
  • 62. Premium conference on Microsoft technologies itcampro@ itcamp14# CONCLUSION
  • 63. Premium conference on Microsoft technologies itcampro@ itcamp14# • Everything has a price • Calculate up-time for specific roles and use- case • Don’t trust the 99.99% myth • Be as flexible as possible • Automate • Recovery plans Conclusion
  • 64. Premium conference on Microsoft technologies itcampro@ itcamp14# Q & A