News for hackers. Stuff that matters.
Re:Ask HN: How did you learn about the design/architecture o... by mindcrime on Tuesday July 13, 2010 @10:03AM (#1511380)
Forgot to include it originally, but it would probably be good to study Map/Reduce as well:

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

http://labs.google.com/papers/mapreduce.html

Caching is huge too... IO is expensive, RAM access is cheap. The more you can pre-load, pre-calculate, and/or pre-sort stuff and store it in memory, the better (in terms of avoiding expensive IO anyway). Caching has it's own issues though: if you cache so aggressively that you exhaust physical ram and cause more swapping, you can actually hurt yourself. Also, you have to deal with the possibility of stale data in the cache, and determining when and how to expire and reload items in the cache. But still, caching is essential, it's just not necessarily easy.

Also, for perspective if nothing else, read the papers and stuff on SEDA (Staged Event Driven Architecture). There's still debate about how effective the SEDA approach is, but reading the discussion(s) will help you appreciate the issues involved. http://www.eecs.harvard.edu/~mdw/proj/seda/

There are no comments on this comment yet.