SlideShare a Scribd company logo
DATABASE AND PUBLIC ENDPOINTS 
REDUNDANCY ON AZURE 
Radu Vunvulea 
@RaduVunvulea 
http://vunvulearadu.blogspot.com
OUR SPONSORS MADE THIS POSSIBLE! 
THANK YOU!
Transylvania, Romania
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
CLOUD IS NOT MANAGED BY GOD
AGENDA 
• Define Redundancy 
• SQL Database 
• Storage 
• Endpoints (HTTP/S, WCF) 
• VM
Database and Public Endpoints redundancy on Azure
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
TYPE OF REDUNDANCY 
Hardware 
Dual Modular Redundancy 
Triple Modular Redundancy 
Information 
Error detection 
Correction 
Time 
Transient Fault Detection 
Software 
N-versions Programming
TYPE OF REDUNDANCY 
Hardware 
Dual Modular Redundancy 
Triple Modular Redundancy 
Information 
Error detection 
Correction 
Time 
Transient Fault Detection 
Software 
N-versions Programming
TYPE OF REDUNDANCY 
Hardware 
Dual Modular Redundancy 
Triple Modular Redundancy 
Information 
Error detection 
Correction 
Time 
Transient Fault Detection 
Software 
N-versions Programming
TYPE OF REDUNDANCY 
Hardware 
Dual Modular Redundancy 
Triple Modular Redundancy 
Information 
Error detection 
Correction 
Time 
Transient Fault Detection 
Software 
N-versions Programming
TYPE OF REDUNDANCY 
Hardware 
Dual Modular Redundancy 
Triple Modular Redundancy 
Information 
Error detection 
Correction 
Time 
Transient Fault Detection 
Software 
N-versions Programming
HOW WE CAN TEST IT?
CHAOS MONKEY 
Netflix: The Chaos Monkey’s job is to randomly kill instances 
and services within our architecture
CHAOS MONKEY
FAILOVER & SWITCHOVER
FAILOVER & SWITCHOVER
SQL REDUDANCY
Database and Public Endpoints redundancy on Azure
DEMO 
LET’S SEE SOME CODE
SQL BACKUPS
DEMO 
LET’S SEE SOME CODE
ALWAYSON
DISASTER RECOVERY PLAN
DISASTER RECOVERY PLAN (DRP) 
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) 
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
ENDPOINT REDUNDANCY
ENDPOINT 
• Any public endpoint 
• Accessible from internet or private networks
LOAD BALANCER
LOAD BALANCER 
• Free  
• Out of the box 
• Lever 3 Load Balancer type 
– TCP Level 
• No Sticky sessions 
• Partial Configurable
LOAD BALANCER PROBE 
• Custom app endpoint 
• Processor level, 500 Errors, Parallel task 
• Configurable from *.cscfg files 
<LoadBalancerProbes> <LoadBalancerProbe 
name="FooProbe" protocol="http" 
intervalInSeconds="30" path="/api/probe" port="80" 
timeoutInSeconds="60" /> </LoadBalancerProbes> 
• VM: Using Power Shell
REDUNDANCY
TRAFFIC MANAGER
TRAFFIC MANAGER
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
DEMO 
LET’S SEE SOME CODE
TRAFFIC MANAGER 
• [Not Supported] Hybrid Scenarios
WHY REDUNDANCY IS SO IMPORTANT?
WINDOWS AZURE SLA’S 
• 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 (PER MONTH) 
• 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 
• 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 
• Downtime per month: 216m 
21.6*2+43.2*4=216m
WINDOWS AZURE SLA’S 
• 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 
• 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 
• 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
WCF ENDPOINTS REDUNDANCY
SERVICE BUS RELAY 
Relay
SERVICE BUS RELAY 
• Steps to integrate in existing application 
– Add assembly reference to SB Relay 
– Update WCF configuration sections 
(client and backend)
SERVICE BUS RELAY 
• 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)
STORAGE REDUNDANCY
LOCALLY REDUNDANT STORAGE 
• 3 copy of the content in the same data center 
1 
3 
2
GEOGRAPHICALLY REDUNDANT STORAGE 
• 2 different data centers 
• Async replication 
1 
3 
2 
1 
3 
2
READ ACCESS GEO REDUNDANT STORAGE 
• Similar with GRS 
• Read only access to the secondary storage 
• Redirecting managed by developer 
• Async replication 
• 99.99% Uptime
DEMO 
LET’S SEE SOME CODE
TRAFFIC MANAGER
TRAFFIC MANAGER 
CHECK HEALTH STATUS OF 
OTHER SERVICES
IMPORT EXPORT SERVICE
IMPORT/EXPORT SERVICE
DEMO 
LET’S SEE SOME CODE
MTBF, MTTR
MTBF -> MTTR 
Mean Time Between Failures 
Mean Time To Recovery
VM REDUNDANCY
VM 
• Same features offered by System Center on-premises 
• Availability Set 
• Windows Server Failover Cluster 
– Real time Sync
CONCLUSION
CONCLUSION 
• 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
Q & A
OUR SPONSORS MADE THIS POSSIBLE! 
THANK YOU!

More Related Content

PPT
clustering and load balancing
PDF
IBM MQ - Comparing Distributed and z/OS platforms
PDF
SAP LVM Custom Instances
PDF
02 2017 emea_roadshow_milan_ha
PDF
SAP LVM Custom Operations
PDF
SAP LVM Integration with SAP BPA
PDF
Russell spring one2gx_messaging_india
PPTX
Apache Kafka Bay Area Sep Meetup - 24/7 Customer, Inc.
clustering and load balancing
IBM MQ - Comparing Distributed and z/OS platforms
SAP LVM Custom Instances
02 2017 emea_roadshow_milan_ha
SAP LVM Custom Operations
SAP LVM Integration with SAP BPA
Russell spring one2gx_messaging_india
Apache Kafka Bay Area Sep Meetup - 24/7 Customer, Inc.

What's hot (18)

PDF
IBM MQ - High Availability and Disaster Recovery
PDF
PowerDNS with MySQL
PDF
Presentation bringing xen server to mission critical system
PPTX
How to optimize CloudLinux OS limits
PDF
IBM MQ - Comparing Distributed and z/OS platforms
PDF
SAP Host Agent x509 authentication
PPTX
Windows Azure Service Bus
PDF
IBM MQ High Availabillity and Disaster Recovery (2017 version)
PPTX
Catena
PDF
Chef conf-2015-chef-patterns-at-bloomberg-scale
PPTX
top 15 easy performance optimizations for Veeam
PPTX
Hhm 3479 mq clustering and shared queues for high availability
PDF
IBM MQ - better application performance
PDF
MySQL 5.5 Replication Enhancements – An Overview (FOSDEM 2011)
PDF
Webapplication Load Balancing
PDF
SAP LVM Post Copy Automation Integration
PDF
Enterprise Messaging with Apache ActiveMQ
PDF
XPDDS17: Shared Virtual Memory Virtualization Implementation on Xen - Yi Liu,...
IBM MQ - High Availability and Disaster Recovery
PowerDNS with MySQL
Presentation bringing xen server to mission critical system
How to optimize CloudLinux OS limits
IBM MQ - Comparing Distributed and z/OS platforms
SAP Host Agent x509 authentication
Windows Azure Service Bus
IBM MQ High Availabillity and Disaster Recovery (2017 version)
Catena
Chef conf-2015-chef-patterns-at-bloomberg-scale
top 15 easy performance optimizations for Veeam
Hhm 3479 mq clustering and shared queues for high availability
IBM MQ - better application performance
MySQL 5.5 Replication Enhancements – An Overview (FOSDEM 2011)
Webapplication Load Balancing
SAP LVM Post Copy Automation Integration
Enterprise Messaging with Apache ActiveMQ
XPDDS17: Shared Virtual Memory Virtualization Implementation on Xen - Yi Liu,...
Ad

Similar to Database and Public Endpoints redundancy on Azure (20)

PPTX
Tokyo azure meetup #12 service fabric internals
PPTX
24 Hours of PASS, Summit Preview Session: Virtual SQL Server CPUs
PPTX
Database and Public Endpoints redundancy on Azure (CloudBrew)
PPTX
Thr30092 building a resilient iaa s architecture
PDF
Client Drivers and Cassandra, the Right Way
PPTX
Commvault Story - CVTSP_1.pptx
PDF
WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...
PDF
VMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
PDF
FIWARE Tech Summit - Docker Swarm Secrets for Creating Great FIWARE Platforms
PDF
PLNOG15 :Assuring Performance, Scalability and Reliability in NFV Deployments...
PDF
PLNOG15 :Assuring Performance, Scalability and Reliability in NFV Deployments...
PDF
Why Use Oracle VM for Oracle Databases? Revera Presentation
PPTX
Cloud - High Availability @ Low Cost - Workshop - Gurpreet ahuja
PDF
TechTalkThai-CiscoHyperFlex
PPTX
Planning to Fail #phpne13
PDF
Our Multi-Year Journey to a 10x Faster Confluent Cloud
PDF
Twelve Factor App
PDF
Marketing Automation at Scale: How Marketo Solved Key Data Management Challen...
PPTX
Using Kubernetes to deliver a “serverless” service
PPTX
Docker Swarm secrets for creating great FIWARE platforms
Tokyo azure meetup #12 service fabric internals
24 Hours of PASS, Summit Preview Session: Virtual SQL Server CPUs
Database and Public Endpoints redundancy on Azure (CloudBrew)
Thr30092 building a resilient iaa s architecture
Client Drivers and Cassandra, the Right Way
Commvault Story - CVTSP_1.pptx
WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...
VMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
FIWARE Tech Summit - Docker Swarm Secrets for Creating Great FIWARE Platforms
PLNOG15 :Assuring Performance, Scalability and Reliability in NFV Deployments...
PLNOG15 :Assuring Performance, Scalability and Reliability in NFV Deployments...
Why Use Oracle VM for Oracle Databases? Revera Presentation
Cloud - High Availability @ Low Cost - Workshop - Gurpreet ahuja
TechTalkThai-CiscoHyperFlex
Planning to Fail #phpne13
Our Multi-Year Journey to a 10x Faster Confluent Cloud
Twelve Factor App
Marketing Automation at Scale: How Marketo Solved Key Data Management Challen...
Using Kubernetes to deliver a “serverless” service
Docker Swarm secrets for creating great FIWARE platforms
Ad

Recently uploaded (20)

PDF
An interstellar mission to test astrophysical black holes
PDF
The scientific heritage No 166 (166) (2025)
PDF
Unveiling a 36 billion solar mass black hole at the centre of the Cosmic Hors...
PPTX
Protein & Amino Acid Structures Levels of protein structure (primary, seconda...
PDF
Placing the Near-Earth Object Impact Probability in Context
PPTX
neck nodes and dissection types and lymph nodes levels
PPTX
2. Earth - The Living Planet earth and life
PPTX
G5Q1W8 PPT SCIENCE.pptx 2025-2026 GRADE 5
PDF
HPLC-PPT.docx high performance liquid chromatography
PDF
SEHH2274 Organic Chemistry Notes 1 Structure and Bonding.pdf
PPTX
INTRODUCTION TO EVS | Concept of sustainability
PPTX
ECG_Course_Presentation د.محمد صقران ppt
PDF
VARICELLA VACCINATION: A POTENTIAL STRATEGY FOR PREVENTING MULTIPLE SCLEROSIS
PDF
Mastering Bioreactors and Media Sterilization: A Complete Guide to Sterile Fe...
PPTX
famous lake in india and its disturibution and importance
PPTX
TOTAL hIP ARTHROPLASTY Presentation.pptx
PPTX
EPIDURAL ANESTHESIA ANATOMY AND PHYSIOLOGY.pptx
PPTX
7. General Toxicologyfor clinical phrmacy.pptx
PPTX
ANEMIA WITH LEUKOPENIA MDS 07_25.pptx htggtftgt fredrctvg
PDF
AlphaEarth Foundations and the Satellite Embedding dataset
An interstellar mission to test astrophysical black holes
The scientific heritage No 166 (166) (2025)
Unveiling a 36 billion solar mass black hole at the centre of the Cosmic Hors...
Protein & Amino Acid Structures Levels of protein structure (primary, seconda...
Placing the Near-Earth Object Impact Probability in Context
neck nodes and dissection types and lymph nodes levels
2. Earth - The Living Planet earth and life
G5Q1W8 PPT SCIENCE.pptx 2025-2026 GRADE 5
HPLC-PPT.docx high performance liquid chromatography
SEHH2274 Organic Chemistry Notes 1 Structure and Bonding.pdf
INTRODUCTION TO EVS | Concept of sustainability
ECG_Course_Presentation د.محمد صقران ppt
VARICELLA VACCINATION: A POTENTIAL STRATEGY FOR PREVENTING MULTIPLE SCLEROSIS
Mastering Bioreactors and Media Sterilization: A Complete Guide to Sterile Fe...
famous lake in india and its disturibution and importance
TOTAL hIP ARTHROPLASTY Presentation.pptx
EPIDURAL ANESTHESIA ANATOMY AND PHYSIOLOGY.pptx
7. General Toxicologyfor clinical phrmacy.pptx
ANEMIA WITH LEUKOPENIA MDS 07_25.pptx htggtftgt fredrctvg
AlphaEarth Foundations and the Satellite Embedding dataset

Database and Public Endpoints redundancy on Azure

  • 1. DATABASE AND PUBLIC ENDPOINTS REDUNDANCY ON AZURE Radu Vunvulea @RaduVunvulea http://vunvulearadu.blogspot.com
  • 2. OUR SPONSORS MADE THIS POSSIBLE! THANK YOU!
  • 4. 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
  • 5. CLOUD IS NOT MANAGED BY GOD
  • 6. AGENDA • Define Redundancy • SQL Database • Storage • Endpoints (HTTP/S, WCF) • VM
  • 8. 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
  • 9. TYPE OF REDUNDANCY Hardware Dual Modular Redundancy Triple Modular Redundancy Information Error detection Correction Time Transient Fault Detection Software N-versions Programming
  • 10. TYPE OF REDUNDANCY Hardware Dual Modular Redundancy Triple Modular Redundancy Information Error detection Correction Time Transient Fault Detection Software N-versions Programming
  • 11. TYPE OF REDUNDANCY Hardware Dual Modular Redundancy Triple Modular Redundancy Information Error detection Correction Time Transient Fault Detection Software N-versions Programming
  • 12. TYPE OF REDUNDANCY Hardware Dual Modular Redundancy Triple Modular Redundancy Information Error detection Correction Time Transient Fault Detection Software N-versions Programming
  • 13. TYPE OF REDUNDANCY Hardware Dual Modular Redundancy Triple Modular Redundancy Information Error detection Correction Time Transient Fault Detection Software N-versions Programming
  • 14. HOW WE CAN TEST IT?
  • 15. CHAOS MONKEY Netflix: The Chaos Monkey’s job is to randomly kill instances and services within our architecture
  • 21. DEMO LET’S SEE SOME CODE
  • 23. DEMO LET’S SEE SOME CODE
  • 26. DISASTER RECOVERY PLAN (DRP) 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?
  • 27. DISASTER RECOVERY PLAN (DRP) 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
  • 29. ENDPOINT • Any public endpoint • Accessible from internet or private networks
  • 31. LOAD BALANCER • Free  • Out of the box • Lever 3 Load Balancer type – TCP Level • No Sticky sessions • Partial Configurable
  • 32. LOAD BALANCER PROBE • Custom app endpoint • Processor level, 500 Errors, Parallel task • Configurable from *.cscfg files <LoadBalancerProbes> <LoadBalancerProbe name="FooProbe" protocol="http" intervalInSeconds="30" path="/api/probe" port="80" timeoutInSeconds="60" /> </LoadBalancerProbes> • VM: Using Power Shell
  • 36. 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
  • 37. DEMO LET’S SEE SOME CODE
  • 38. TRAFFIC MANAGER • [Not Supported] Hybrid Scenarios
  • 39. WHY REDUNDANCY IS SO IMPORTANT?
  • 40. WINDOWS AZURE SLA’S • 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%
  • 41. WINDOWS AZURE SLA’S (PER MONTH) • 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
  • 42. WINDOWS AZURE SLA’S • 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
  • 43. WINDOWS AZURE SLA’S • Downtime per month: 216m 21.6*2+43.2*4=216m
  • 44. WINDOWS AZURE SLA’S • Downtime per month: 216m 21.6*2+43.2*4=216m • Downtime per month: 0.5% (100/43200)*216=0.5%
  • 45. WINDOWS AZURE SLA’S • 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%
  • 46. WINDOWS AZURE SLA’S • 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
  • 49. SERVICE BUS RELAY • Steps to integrate in existing application – Add assembly reference to SB Relay – Update WCF configuration sections (client and backend)
  • 50. SERVICE BUS RELAY • 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)
  • 52. LOCALLY REDUNDANT STORAGE • 3 copy of the content in the same data center 1 3 2
  • 53. GEOGRAPHICALLY REDUNDANT STORAGE • 2 different data centers • Async replication 1 3 2 1 3 2
  • 54. READ ACCESS GEO REDUNDANT STORAGE • Similar with GRS • Read only access to the secondary storage • Redirecting managed by developer • Async replication • 99.99% Uptime
  • 55. DEMO LET’S SEE SOME CODE
  • 57. TRAFFIC MANAGER CHECK HEALTH STATUS OF OTHER SERVICES
  • 60. DEMO LET’S SEE SOME CODE
  • 62. MTBF -> MTTR Mean Time Between Failures Mean Time To Recovery
  • 64. VM • Same features offered by System Center on-premises • Availability Set • Windows Server Failover Cluster – Real time Sync
  • 66. CONCLUSION • 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
  • 67. Q & A
  • 68. OUR SPONSORS MADE THIS POSSIBLE! THANK YOU!

Editor's Notes