Slashdot Mirror


The Environmental Impact of PHP Compared To C++ On Facebook

Kensai7 writes "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."

1 of 752 comments (clear)

  1. Re:people use PHP? by nietsch · · Score: 0, Offtopic

    dear AC. I am amazed by your insights, you truly must be one of those hyper productive programmers that is some order of magnitude more productive than his peers. How else can you do yourself what you advise other here? So you come here visiting with your own built webbrowser. Firefox just did not have some features you needed and putting them in an extension would be heresy. Better to built your own. Same goes for your house, your car, or your language. I pity the fools that do not understand you because they choose to ignore your superior language. What do you mean they had different requirements and built their own? Akkadjoembah!

    --
    This space is intentionally staring blankly at you