The Ultimate Business Machine - Archives
List of Categories : Commentary * Database * Singapore * Technology * Travel *
Thu 16 Mar 2006
Category : Technology/RoundRobin.txt
I've tested that I could use DNS Enabler to set up something like this (focus on the box outlined in red):
This is called a round-robin arrangement. Three machines - 10.0.1.240, 245 and 250 are all given the domain name "another.domain", and all store the same content.
Now what happens is, when a hit comes in for "another.domain", the name server will channel the request to be served by the machine on address 10.0.1.240.
Then, when another hit comes in for "another.domain", the name server will channel it to 10.0.1.245 next. When a third hit comes in, it gets channeled to 10.0.1.250. Finally, when a fourth hit comes in, the name server sends it back to 10.0.1.240, and around it goes again.
The end result is that the load for the domain "another.domain" gets distributed across three different servers. If you have a database, you need to abstract it out to a different machine that all three servers access. But in this way, you can upsize your operations by adding more servers as your business expands.
So, our tools are all coming together nicely.