Archive for the ‘Development’ Category

Green Code?

December 21st, 2009

I ripped this from Slashdot, but found it interesting enough to post.  Facebook is such a beast that their preference of programming language has an environmental impact.  It is important to note that this shouldn’t be limited to Facebook; imagine how many servers power Google if Facebook uses 30,000.

“Recently, Facebook provided us with some information on their server park. They use about 30,000 servers, and not surprisingly, most of them are running PHP code to generate pages full of social info for their users. As they only say that ‘the bulk’ is running PHP, let’s assume this to be 25,000 of the 30,000. If C++ would have been used instead of PHP, then 22,500 servers could be powered down (assuming a conservative ratio of 10 for the efficiency of C++ versus PHP code), or a reduction of 49,000 tons of CO2 per year. Of course, it is a bit unfair to isolate Facebook here. Their servers are only a tiny fraction of computers deployed world-wide that are interpreting PHP code.”

From [Slashdot]