1

I would like to bring up the load on a new server slowly over time.

Unfortunately there is no front-end load balancer we can use to adjust this, so I just insert a new DNS record for the domain name. This will split the traffic approximately 50/50 between the old and new servers.

My question is, can I adjust the ratio between the old and new server by entering multiple identical records?

example.com. 300 IN A OLD_IP example.com. 300 IN A OLD_IP example.com. 300 IN A NEW_IP 

I would hope the above example splits the load 1/3 and 2/3 between the new and old servers.

1 Answer 1

2

Yes you can, but DNS remains a crude and unreliable way of doing loadbalacing.

3
  • 1
    And also only if your DNS server doesn't choke on duplicate records and doesn't silently collapse duplicates. Commented Jan 25, 2013 at 22:01
  • Not that I disagree with you, but I think we should fill this answer in a little more. What makes it crude and unreliable? Google does it, and Amazon Elastic Load Balancers use multiple DNS records. Commented Jan 25, 2013 at 23:08
  • 1
    It's crude because you can't really control the balance. It's unreliable because you rely on clients doing the right thing, which they don't. Google has a multi-tier loadbalancing solution with dns being the outermost and crudest layer, simply activating entire datacenters. I'm not familiar with ELB, so can't comment on it. Commented Jan 25, 2013 at 23:15

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.