The
Ultimate
Business Machine

Technology, business
and innovation.

And, not least, about
the Mac.

Weblog • Archive • Cutedge

by: Bernard Teo








Creative Commons License

Copyright © 2003-2012
Bernard Teo
Some Rights Reserved.

Thu 16 Mar 2006

Round Robin

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.

Posted at 4:34PM UTC | permalink

Mac@Work
Put your Mac to Work

• Sivasothi.com? Now how would you do something like that?

• Weblogs. Download and start a weblog of your own.

• A Mac Business Toolbox
A survey of the possibilities

• A Business Scenario
How we could use Macs in businesses

• VPN Enabler for Mavericks

• MailServe for Mavericks

• DNS Enabler for Mavericks

• DNS Agent for Mavericks

• WebMon for Mavericks

• Luca for Mavericks

• Liya for Mountain Lion & Mavericks

• Postfix Enabler for Tiger and Panther

• Sendmail Enabler for Jaguar

Services running on this server, a Mac Mini running Mac OS X 10.9.2 Mavericks:

  • Apache 2 Web Server
  • Postfix Mail Server
  • Dovecot IMAP Server
  • Fetchmail
  • SpamBayes Spam Filter
  • Procmail
  • BIND DNS Server
  • DNS Agent
  • WebDAV Server
  • VPN Server
  • PHP-based weblog
  • MySQL database
  • PostgreSQL database

all set up using MailServe, WebMon, DNS Enabler, DNS Agent, VPN Enabler, Liya and our SQL installers, all on Mavericks.