Facebook的PHP代码对环境的冲击
Facebook在一个月前提供了与服务器规模相关的信息,他们使用了大约3万台服务器,多数服务器运行PHP代码去生成用户的社交主页。赶哥本哈根气候变迁讨论的东风:这些服务器将 产生多少二氧化碳?如果PHP代码用其它其它语言替代,将能减少多少二氧化碳排放量?
一台服务器的功率大约为200瓦,冷却和其它开销约400瓦。在美国,每千瓦时平均产生560克二氧化碳,Facebook的服务器每年共产生59 000吨二氧化碳。假使运行PHP代码的服务器约25 000台,如果用C++代码替代PHP代码,根据C++代码的效率是PHP代码的10倍计算,大约22 500台服务器可以关闭,这将减少49 000吨二氧化碳排放。当然,这对Facebook有点不公平,他们的服务器只占到全世界运行PHP代码的服务器总数的很小一部分。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

SublimeText3 Mac version
God-level code editing software (SublimeText3)

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Dreamweaver Mac version
Visual web development tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool