3/22/2008

How does it scale?

As a programmer, whenever we add new pieces of code in a software, we should ask ourselves “How does it scale?” What if it gets executed many times a second. What if it is executed on all nodes in the cluster simultaneously? Will it waste CPU cycles? Will it fill the memory or the log files with garbage? Could it crash the whole cluster?

As a human, whenever we buy something, we should ask ourselves “How does it scale?”. What if I buy the same thing every day? What if everyone buys it? Will it waste resources? Will it fill the dump with garbage? Could it crash the planet?

The goal is to prevent unrecoverable effects before it is to late. Answering this simple question forces us to design better and more sustainable options thus preventing down time.

0 commentaires: