News for hackers. Stuff that matters.
Re:Ask HN: On scalability and memory footprint by wheels on Saturday October 11, 2008 @04:11AM (#329583)
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -Donald Knuth

That said, watch your 'n's. If you scale linearly, you can keep throwing servers at the problem. If you end up with some critical piece of your code that's, say, quadratic in run-time or memory consumption, you can't. And when you get there: profile, don't guess. Monte-Carlo code optimization is the beginning of the end for an otherwise clean code-base.

Re:Ask HN: On scalability and memory footprint by alecco on Saturday October 11, 2008 @09:44AM (#329688)
Only consider that quote if you've been through all or most of Knuth's TAOCP.

Good design lets your site stay lean and mean.

Re:Ask HN: On scalability and memory footprint by ericb on Saturday October 11, 2008 @11:00AM (#329735)
While going through TAOCP is good advice, I think the quote stands on its own.