Monday, September 3, 2007

Viability of DNS failover

In Spring 2006, my site was plagued with recurrent hardware problems causing serious downtime. At the time, the site was hosted on a dedicated server and I had no failover strategy whatsoever so when a hard disk failed on the server, you could expect a few days of downtime.

At the beginning of the summer, I got fed up and started investigating possible solutions to this problem and, after some experimentation, finally settled on DNS failover. Here are the results of the experimentation, originally posted on WebHosting Talk:

I run a site with about 1,000,000 unique visitors per month and recent server failures made me decide to get a failover server to minimize downtime. My goal wasn't to get 99.999% uptime but to be able to be back on track after a failure in a "reasonable" amount of time. After evaluating several solutions, I decided to go with DNS failover. Here's how the setup work:

1) mydomain.com points to main server with a very low TTL (time to live)
2) failover server replicates data from main server
3) when main server goes down, mydomain.com is changed to point to failover server

The drawback is the DNS propagation time since some DNS servers don't honor the TTL and there is some caching happening on the user's machine and browser. I looked for empirical data to gauge the extent of the problem but couldn't find any so I decided to setup my own experiment:

I start with mydomain.com pointing to the main server with a TTL of 1800 seconds (1/2 hour). I then change it to point to the failover server which simply port forwards to the main server. On the main server, I periodically compute the percentage of requests coming from the failover server which gives me the percentage of people for which the DNS change has propagated.

I made the DNS change at exactly 16:04 on 06/21/06 and here are the percentage of propagated users:

06/21/06 16:00 0 %
06/21/06 16:05 3 %
06/21/06 16:10 20 %
06/21/06 16:15 37 %
06/21/06 16:20 59 %
06/21/06 16:25 69 %
06/21/06 16:30 76 %
06/21/06 16:35 80 %
06/21/06 16:40 86 %
06/21/06 16:45 90 %
06/21/06 16:50 91 %
06/21/06 16:55 92 %
06/21/06 17:00 93 %
06/21/06 17:05 94 %
06/21/06 17:10 94 %
06/21/06 17:15 95 %
06/21/06 17:35 95 %
06/21/06 17:40 96 %
06/21/06 17:45 97 %
...
06/22/06 10:40 99 %

So even after 18 hours, there is still a certain percentage of users going to the old server so DNS failover is obviously not a 99.999% uptime solution. However, since more than 90% of the users are propagated in the first hour, the solution works well enough for me.

463 comments:

«Oldest   ‹Older   401 – 463 of 463
bangalore escorts said...

Hi i am bangalore escorts young girl, 22 year old and still i have no friends and i wants to make a friends and deliver the some wonderful moment.
http://www.xstar.co.in

Bangaloremassage said...

Hello! I am 23 years ,High Profile Escorts in Bangalore for the lascivious activities for the uttermost recreational values.


Bangalore Escorts

Escorts in Bangalore

Independent Bangalore Escorts

High Profile Escorts in Bangalore

Anshika Apte Bangalore Escorts said...

India Best Independent Bangalore Escorts Anshika call ☎ +91-8147349718

Bangalore Escorts
Independent Bangalore Escorts
Escorts In Bangalore
Bangalore Escorts Service
Bangalore Independent Escorts
High Profile Bangalore Escorts

Simran Khanna said...

Bangalore Escort
Bangalore Escorts
Escorts in Bangalore
Independent Bangalore Escorts
Hot Escort Girls in Bangalore

Lara Jain said...

Bangalore Escort
Bangalore Escorts
Escorts in Bangalore
Independent Bangalore Escorts

Payal Singh said...

Bangalore Escorts
Escorts in Bangalore
Independent Bangalore Escorts
Bangalore Escort

faithfullysweet said...

India Best Independent Bangalore Escorts Faithfully call ☎ +91-8147349718

Bangalore Escorts
Independent Bangalore Escorts
Escorts In Bangalore
Bangalore Escorts Service
Bangalore Independent Escorts
High Profile Bangalore Escorts

sapnasundari said...

Bangalore Escorts service an in depth portfolio from Russian girl escorts services Bangalore a responsible Escorts Bangalore an unequaled independent escorts in Bangalore.
Bangalore in Escorts
Independent Bangalore escorts

Riyabanarjee said...

I am Riya banarjee23 years most sexiest Call Girl In Bangalore Escorts with 7 Stars Hotels and having the luxurious beauty to make you fully satisfied on the bed.

Bangalore Escorts

Escorts in Bangalore

Independent Bangalore Escorts

High Profile Escorts in Bangalore

Bangalore Independent Escorts

jiya said...

Bangalore Escorts are simplest a call away from you and ideally you can select any apartment or resort or even you could call them to your house wherein you could meet them and come out with large amount of satisfaction!
Contact Us: 8147349718
Bangalore escorts
Independent Bangalore escorts
Bangalore in Escorts

Rihana Chaudhary said...

Pune Escorts
Pune Escort
Pune Escorts Service
Pune Escorts Agency
Pune Independent Escorts
Escorts in Pune
Independent Escorts in Pune

rahul mahadewan said...

House Of Biometrics in india
House Of Biometric

aanisah sharma said...

Ahmedabad Escorts
Independent Escorts in Ahmedabad
Ahmedabad Escorts Service
Ahmedabad Escorts Agency
Escorts in Ahmedabad
Female Escort in Ahmedabad
Call Girl in Ahmedabad

Amrisha Sharma said...

Ahmedabad Escorts
Escorts in Ahmedabad
independent Escorts in Ahmedabad
Ahmedabad Escorts agency
Ahmedabad Escorts service
Ahmedabad Escort




Ruhina Bhati said...

Ahmedabad Escorts
Escorts in Ahmedabad
independent Escorts in Ahmedabad
Ahmedabad Escorts agency
Ahmedabad Escorts service
Ahmedabad Escort





Unknown said...

Gi guys if you are want to selected slim figure babes and now time to change then Good choice Independent Faridabad escorts girl service Golden Touch for you.

http://www.yamithakur.com/

Faridabad Escorts

Faridabad Escort

Faridabad Escorts Service

Faridabad Escorts Agency

Independent Faridabad Escorts

Call Girl Services in Faridabad

Escorts in Faridabad

Call Girl in Faridabad

Faridabad Call Girl

Call Girl Services in Faridabad

http://www.virgincallgirlinfaridabad.com

Faridabad Escorts

Faridabad Escort

Faridabad Escorts Service

Faridabad Escorts Agency

Independent Faridabad Escorts

Call Girl Services in Faridabad

Escorts in Faridabad

Call Girl in Faridabad

Faridabad Call Girl

Call Girl Services in Faridabad

http://www.russiancallgirlsinfardabad.com/

Faridabad Escorts

Faridabad Escort

Faridabad Escorts Service

Faridabad Escorts Agency

Independent Faridabad Escorts

Call Girl Services in Faridabad

Escorts in Faridabad

Call Girl in Faridabad

Faridabad Call Girl

Call Girl Services in Faridabad

http://www.missruhi.com/

Faridabad Escorts

Faridabad Escort

Faridabad Escorts Service

Faridabad Escorts Agency

Independent Faridabad Escorts

Call Girl Services in Faridabad

Escorts in Faridabad

Call Girl in Faridabad

Faridabad Call Girl

Call Girl Services in Faridabad

Unknown said...

The young and dynamic Independent Hyderabad Escorts are waiting for you, to making your dream come true, so do not waste your time and come to join their company to make your moments special.

http://www.flowerhyderabadescort.com/

Hyderabad Escorts

Hyderabad Escort

Hyderabad Escorts Service

Hyderabad Escorts Agency

Independent Hyderabad Escorts

Independent Hyderabad Escort

Escorts in Hyderabad

Escorts Service in Hyderabad

Hyderabad Female Escorts

Hyderabad Escorts

Hyderabad Escort

Hyderabad Escorts Service

Hyderabad Escorts Agency

http://www.rimakapoor.com/

Mumbai Escorts

Mumbai Escort

Mumbai Escorts Service

Mumbai Escorts Agency

Independent Mumbai Escorts

Independent Mumbai Escort

Escorts in Mumbai

Mumbai Escorts Girl

Mumbai Female Escorts

Mumbai Escort

Escorts Service in Mumbai

http://www.missruhi.com/

Faridabad Escorts

Faridabad Escort

Faridabad Escorts Service

Faridabad Escorts Agency

Independent Faridabad Escorts

Call Girl Services in Faridabad

Escorts in Faridabad

Call Girl in Faridabad

Faridabad Call Girl

Call Girl Services in Faridabad

Bangalore Escorts said...

India Best Independent Bangalore Escorts Call ☎ +91-9611555853

Bangalore Escorts

aashirya khanna said...

Ahmedabad Escorts
Escorts in Ahmedabad
independent Escorts in Ahmedabad
Ahmedabad Escorts agency
Ahmedabad Escorts service
Ahmedabad Escort


Reshma Sharma said...

Pune Escorts | Pune Escorts | Pune Escort Service | Independent Escorts in Pune| Escorts in Pune | Pune Call girls

jiyamalik said...

We are the best bangalore escorts provider in India. We have different type of bangalore escorts such as russian and tv serial escorts. for more info bangalore escorts
independent bangalore escorts
escorts in bangalore

Indian Royal Girls said...

Our Indian royal girls are also ready to provide you with a friendly and sensual close body massage to ooze up your passionate impulse. That way, our company is also a reputed Female Delhi escorts agency.
Delhi Escorts Service
Delhi Escorts Agency
Female Delhi Escorts Service
Independent Delhi Escorts
Female Escorts in Delhi
High Class Escorts in Delhi
College Girls Escorts in Delhi
Female Delhi Escorts

Thanks
Indian Royal Girls

Janvhi said...

It is not to get selected as an escort with us because we do a thorough inspection to ensure that all new arrivals values her customers, and can perfectly provide then enticing conversation and intimate connections.
Look Vip Escorts model To go these website:-
Nainital Escorts , Independent Delhi Escorts , Bangalore Escorts , Goa Escorts , Jaipur Escorts , Haldwani Escorts , Mumbai Escorts

alishaaggarwal said...

Escorts In Bangalore

alishaaggarwal said...

Best Escorts Services Bangalore
Bangalore Hotel Escort
Escorts in Bangalore

Bed pari said...

We Have a Best Escorts Call Girls in Bangalore. House Wife Call Girls, Air hostess Call Girls, College Call Girls.

Bangalore Escorts

Independent Bangalore Escorts

Call Girls in Bangalore

Best Escorts Services

soni said...

Call-8147349718 for best bangalore escortrs services

Bangalore escorts
independent Bangalore escorts
Bangalore escorts services
http://www.candygirlescorts.com

Garima Chopra said...

Chennai Escorts
Escorts in Chennai
Chennai Escorts Service
Chennai Escorts Agency
Independent Escorts in Chennai
Chennai call girls
Call girls in Chennai

Purnima Roy said...
This comment has been removed by the author.
Purnima Roy said...

Bangalore Escorts

Independent Bangalore Escorts

Escorts in Bangalore

Bangalore Escorts Services

seela singh said...


Hello Every one my name is Seela. I am very young sweet , warm beautiful and friendly. who is waiting delight you.i am very sexy with a gorgeous natural body, a bright personality and i am prefect Bangalore Escorts girl.



Bangalore Escorts Girls

leesha said...

Hello my name is Leesha. I am high class Bangalore escorts model. i will give you the best time available for in call. i'm a sexy girl and nice body, i will make you feel very good with me.


Bangalore escorts model

Ranjana Mehta said...

Chennai Escorts
Independent Escorts in Chennai
Chennai Escorts Service
Chennai Escorts Agency
Escorts in Chennai
Chennai Escort
Chennai Call Girl
Call Girl in Chennai

ambikaahuja said...



Welcome to VIP Model Escorts in Bangalore. my name is ambika ahuja. we are the top charted agency for gentlemen exclusive hilarity services to provide industry top ranking model Escorts in Bangalore.


Escorts in Bangalore
Bangalore escorts model
Escorts In Bangalore
Independent Bangalore Escorts

Reshma Sharma said...

Pune Escorts
Independent Escorts in Pune
Pune Escorts Service
Pune Escorts Agency
Escorts in Pune
Pune Escort
Pune Call Girl
Call Girl in Pune

Bangalorenight said...

Based in Bangalore, I am very cute faced good looking girl and know how to make a man comfortable. Book me for real escort Bangalore pleasure during your stay.
female escorts in bangalore

Kavya Patel said...

Ahmedabad Escorts
Independent Escorts in Ahmedabad
Ahmedabad Escorts Service
Ahmedabad Escorts Agency
Escorts in Ahmedabad
Ahmedabad Escort
Call girl in Ahmedabad
Ahmedabad Call Girls

Bangalorenight said...

Based in Bangalore, I am very cute faced good looking girl and know how to make a man comfortable. Book me for real escort Bangalore pleasure during your stay.

female escorts in bangalore





call4fun said...

welcome to banglore escorts.iam a hot and beautiful girl searching for a good and attractive male.i can give a good satisfaction.


Bangalore Escort


iwebamantripathi said...

We specialize in providing expert IT Infrastructure services with the promise of reliability and resourcefulness to provide practical, cost-effective solutions to clients in the following areas..

online tech support

doyalsingh said...

Fantasies can become reality. We understand that for many living out your Asian girl fantasy or having that "one night in Bangalore" experience is a rare or even once in a life time occasion, so we make sure you get what you want and we only make promises we can keep.

Bangalore Escorts

Alisha Khanna said...

Ahmedabad Escorts
Independent Escorts in Ahmedabad
Ahmedabad Escorts Service
Ahmedabad Escorts Agency
Escorts in Ahmedabad
Call Girls in Ahmedabad
Russian Escorts in Ahmedabad

ritabangalore said...

If you are looking for one of the finest escorts in bangalore , you have visited a right platform where you have taken a good initiative to get over from every pain of life by meeting me who is a reliable, beautiful and professional companion.

escorts in bangalore

Sanaya Seth said...

One of the most breathtakingly sensuous kajalaggarwaal tumblr escorts, who only likes men that have a class and are prudent.

If you ever wanted most exciting and fulfilling simpygrewal hatenablog escorts, your one stop solution to satisfy all your sexual desires.

If there is any high class gentleman looking for some exciting and mushy love making then he should definitely contact mydreamangels bravesites escorts.

There is not just a single service which is given one but so many various other kinds of services are offered at mydreamangels zohosites escorts.

bablibangalore said...


Want to enjoy the real Indian beauty at Reasonable price.visit on my site Escort Service in Bangalore.
Escort Service in Bangalore

call4fun said...

hi. welcome to banglore escorts agency. iam here to give you a full night pleasure. the pleasure of heaven is here in this agency.ican turn your boring night into beautiful heaven.message me.

Thebangloregirl said...

A place to find out selective escorts in Bangalore, delicious beautiful call girls and female models. visit here..
escorts in bangalore

high class escorts banglore said...

HI.WELCOME TO ZUBI ESCORTS GIRL. I AM YOUR DREAM GIRL TURNING YOUR FANTASIES AND DESIRES INTO CHARMING REAL BEAUTY.CHOOSE ME FOR A BETTER EXPERIENCE.
Independent Bangalore Escorts

high class escorts banglore said...

HELLO.THIS IS HOT FEMALE ESCORTS.LET YOUR DREAMS BE REAL.HERE PLEASURE IS UNLIMITED.I CREATE A GREAT SURVEILLANCE ON YOUR SATISFACTION.
HOT FEMALE ESCORTS

ajnali kapoor said...

If you wish to enjoy an unequaled Escort Service in Bangalore, then you are at the best hands. I am not only have stylish and classy but also am intelligent adequate to mingle with and can move around on any social or business stage Anywhere in Bangalore.
http://www.anjalikapoor.com/

ajnali kapoor said...

If you wish to enjoy an unequaled Escort Service in Bangalore, then you are at the best hands. I am not only have stylish and classy but also am intelligent adequate to mingle with and can move around on any social or business stage Anywhere in Bangalore.

Escort Girls Bangalore

Soniya Mathur said...

Chennai Escorts | Escorts in Chennai | Chennai Escorts Service | Chennai Escorts Agency | Independent Escorts in Chennai | Chennai call girls | Call girls in Chennai

call4fun said...

HI.BANGALORE ESCORTS ESCORTS GIVES YOU A DIVINE PLEASURE.DELICIOUS GIRLS WITH EXTRA ENTERTAINMENT.MESSAGE ME FOR REAL PLAEASURE.
BANGALORE ESCORTS SERVICE


parulsaxena said...

Chennai Escorts
Chennai Escort
Escorts in Chennai
Independent Escorts in Chennai
Chennai Escorts Service
Chennai Escorts Agency
Female Escorts in Chennai

Bangalore Escorts said...

Bangalore Escorts
Independent Bangalore Escorts
Escorts In Bangalore
Bangalore Independent Escorts
Call Girls In Bangalore

EscortsInBangalore said...

Good Sharing
Independent Bangalore Escorts
Bangalore Escorts
Escorts In Bangalore
Bangalore Independent Escorts
Escorts Service Bangalore

Double heart Escorts said...

Meet

Bangalore Escorts
Independent Bangalore Escorts
Bangalore Independent Escorts
Escorts In Bangalore
Call Girls In Bangalore

high class escorts banglore said...

hi. welcome to rita escorts services.we will give you a full night pleasure.choose me for a real night pleasure.
rita escorts girl

Delhi Fun Girls said...

Escorts service in Delhi doesn’t have all the earmarks of being just hot however qualified are magnificent goodness. These escort girls is normally cheerful to give amazing administrations.
Delhi Escorts
Escorts in Delhi
Delhi Escorts Agency
Independent Delhi Escorts
Delhi Escorts Service
Female Delhi Escorts
Female Delhi Escorts Agency

Thanks
Delhi Fun Girls

Double heart Escorts said...

Bangalore Escorts
Independent Bangalore Escorts
Bangalore Independent Escorts
Escorts In Bangalore
Call Girls In Bangalore

EscortsInBangalore said...

Top Best Escorts

Independent Bangalore Escorts
Bangalore Escorts
Escorts In Bangalore
Bangalore Independent Escorts

Bangalore Escorts said...

Independent Bangalore Escorts
Bangalore Independent Escorts
Escorts In Bangalore
Call GirlsBangalore
Bangalore Escorts

high class escorts banglore said...

hello.i am selly arora.iam ready to give you a night thant you won't forget. message me to enjoy my service.

selly arora

«Oldest ‹Older   401 – 463 of 463   Newer› Newest»