Found in 1 comment on Hacker News
mindcrime · 2010-07-13 · Original thread
I'm still not the world's foremost expert, but what I do know I've learned through a combination of trial and error, reading books (I'll edit this later and put in a couple of specific titles), reading stuff on the 'Net and classes I took in school (I did a degree in "High Performance Computing" which had some useful aspects to it).

A good place to start, if you're not already familiar with it, is High Scalability: http://highscalability.com/

Edit: book recommendations:

Scalable Internet Architectures -

http://www.amazon.com/Scalable-Internet-Architectures-Theo-S...

Linux Clustering - Building and Maintaining Linux Clusters - http://www.amazon.com/Linux-Clustering-Building-Maintaining-...

High Performance Linux Clusters - http://www.amazon.com/Performance-Clusters-OpenMosix-Nutshel...

Linux Enterprise Cluster - http://www.amazon.com/Linux-Enterprise-Cluster-Available-Com...

Java Message Service - http://www.amazon.com/Java-Message-Service-Mark-Richards/dp/...

Java Message Service API Tutorial and Reference - http://www.amazon.com/Java-Message-Service-Tutorial-Referenc...

Enterprise JMS Programming - http://www.amazon.com/Enterprise-JMS-Programming-Professiona...

Hadoop: The Definitive Guide - http://www.amazon.com/Hadoop-Definitive-Guide-Tom-White/dp/0...

Pro Hadoop - http://www.amazon.com/Pro-Hadoop-Jason-Venner/dp/1430219424/...

Wikipedia:

http://en.wikipedia.org/wiki/Shared_nothing_architecture

http://en.wikipedia.org/wiki/Shard_%28database_architecture%...

http://en.wikipedia.org/wiki/Publish/subscribe

It's important to understand the difference between vertical scaling and horizontal scaling. Horizontal is very en vogue these days, especially with commodity hardware. Why? Because you can add power incrementally without spending tons of money upfront, and without requiring a "forklift upgrade" (that is a reference to needing a forklift to bring in a new mainframe or minicomputer). This is a pretty good article on the topic:

http://www.scalingout.com/2007/10/vertical-scaling-vs-horizo...

As popular as horizontal scaling is, don't ignore the possibilities of going to bigger hardware though. It has it's own advantages, especially when you start talking about physical floor space to store servers.

Of course "cloud computing" changes some of this, both by making it cheap and easy to add VPS's to scale horizontally, or by making it possible (sometimes) to easily add more processing power, RAM, etc. to your "server." Read up on Xen, KVM, EC2, etc. for more on that whole deal.

Fresh book recommendations delivered straight to your inbox every Thursday.