Wednesday, January 18, 2006

Excellent mantra

From the mod_perl book:

Which is more important: saving enough memory to allow the machine to
serve a few extra concurrent clients, or using off-the-shelf modules that
are proven and well understood? Debugging a reinvention of the wheel can
cost a lot of development time, especially if each member of your team
reinvents in a different way. In general, it is a lot cheaper to buy more
memory or a bigger machine than it is to hire an extra programmer. So
while it may be wise to avoid using a bloated module if you need only a
few functions that you could easily code yourself, the place to look for
real efficiency savings is in how you write your code.

No comments: