Nov 12

I would like to introduce you tonight to a x-part series (I don’t know how many parts there are at the moment, we will see as time progresses) entitled “How to build a www cluster in x days“.

In this series, we will be looking at a wide variety of different techniques that can be used to create a cluster for hosting your next large project on.
When I talk about clusters, I like to categorise them into two particular sections: dumb and intellegent clusters. A dumb cluster is a group of machines that essentially know very little of their surroundings. They do not take into account how many machines are currently running, where the machines are located or how the data is to be devlivered to it’s location. Put simply: you set it up, and it works. No complex heartbeat configurations (except when necessary) and nothing fancy.
Intelligent clusters on the other hand know alot of information about where other machines on the network are. They know where the vistor to the website is coming from, and what the fastest way is to deliver content to that user.
Put simply: a “dumb cluster” is a group of machines that are set up to deliver content. If one machine goes down, the load balancer will detect this and bring that node out of the server pool until it is reported back up again. an “intelegent cluster” knows where the user is visiting. It can take into consideration what the shortest internet route is to it’s desired location, or what route should be taken to get the best availible speeds.
In this series, we will be looking more at the dumb clustering side of things. Dumb clusters are easy to set up, and well, if you really want an intellegent cluster, hire me :] So lets look at what we are going to discuss in this series.
  1. Setting up our first webserver
  2. Setting up our shared filesystem
  3. Setting up our http/https load balancer
  4. Setting up our mail server
  5. Setting up our backup system
  6. Setting up our mysql cluster
  7. Setting up our shell server
  8. Setting up our TCP/IP load balancer
For the purpose of writing this series, I will be using Xen installed on my machine, using CentOS 5.4 as the base opperating system. At any one time, I will have up to five domains running on Xen. I will be testing loads and response times using my laptop.
Stay tuned, the first part of the series comes on Tuesday.

written by Tim Groeneveld \\ tags: , , , , ,

Jul 01

file1203579412114After ranting about Apple’s overpriced machines. which are nothing short of a bad joke, I am still over excited to get my new machine. My new AMD Phenom & Adaptec 3405-based machine is going to be used by me in the testing and development of two exciting products. ShareSource’s Xen compile farm, and another, top secret project that will keep me pre-occupied while I pay off my loan.

Anyways, a quick run down on the specs of the machine:

  • Gigabyte GA-MA790FXT-UD5P
  • AMD Phenom II AM3 810 (2.6Ghz)
  • 8GB of DDR3 RAM
  • nVidia 9600GT 512MB (graphics are not my thing, but I love to watch a good quality movie)
  • 32GB System drive [for Linux - has access to RAID storage], Solid State
  • 500GB System drive [for Windows - might not have access to RAID]
  • 4.5TB of disk space, thanks to Adaptec’s 3405 SATA RAID card
  • C-Master COSMOS S case
  • 2x 20″ BenQ LCD Screens
  • Creative Audigy XFI sound card (which sadly does not have terribly good sound drivers for Linux… another thing on the TODO list)
  • 7.1 Surround Sound
  • DViCO HDTV tuner ( just for those times that I really don’t want to code :) )

Total price: $3,200

written by Tim Groeneveld \\ tags: , ,

Jul 01

I love it when I hear people saying that Mac’s are better then PC’s. When was the fact lost on them that ever since Apple moved to Intel’s Core Duo chips, that an Apple is nothing more then (an overpriced) shiny white aluminum case?

expensivemacMy only reason for ranting is that if I wanted to buy a Mac, I would right now be spending more then $11,386.99… not only that, but I still would not have all the hardware that I want in my new machine. I mean, come on guys. I can build something my self in three hours for $3,300 that is faster, has almost twice the amount of storage (and more redundancy). Infact, the only thing the Mac can offer me on their online configuration that I really want, is my 8GB of RAM…

Seriously? You have to be kidding.

I must however admit, the iPhone was a good invention though, Steve.

I love OS X. I do. Seriously. But until everyone stops calling their Mac not a PC… I will still be laughing at all people who own a Mac. A cheap Mac will set you back about $1,000. A cheap (new) PC will set you back $400. Must be another win from Apple. *sigh*

written by Tim Groeneveld \\ tags: , , , , ,