Can code be bad for the planet? Kann Code schlecht für den Planeten?
October 14th, 2007 | by ian | 14. Oktober 2007 | von Ian |Alistair has an hat ein interesting post on Earth2Tech Interessant Post auf Earth2Tech , the thesis of which is that inefficient coding practices can lead to environmental harm. Die These von der ist, dass ineffiziente Praktiken Kodierung kann dazu führen, dass die Umwelt schädigen.
I almost misled myself into thinking AC is blaming virtualization and SaaS/IaaS (infrastructure as a service) on creating such inefficiencies. Ich fast mich in die Irre geführt Denken AC ist die Schuld Virtualisierungs-und SaaS / IAAS (Infrastruktur als Service) auf die Schaffung solcher Ineffizienzen. Rather, he skipped past the obvious environmental benefits of server consolidation (improved resource utilization) and service centralization (via economies of scale) and instead builds on the consequences: code inefficiencies become more obvious when you’re no longer massively overprovisioning hardware. Vielmehr hat er übersprungen Vergangenheit die offensichtliche Vorteile für die Umwelt von Server-Konsolidierung (verbesserte Ressourcenauslastung) und den Service-Zentralisierung (via economies of scale) und stützt sich stattdessen auf die Folgen: Code Ineffizienzen deutlicher zu Tage, wenn Sie nicht mehr massiv overprovisioning Hardware. This is an opportunity as much as a challenge. Dies ist eine Gelegenheit, so viel wie eine Herausforderung. Bad code did matter previously, but not to the extent that is forseen: we’re scaling web applications to a much larger degree than ever before. Bad-Code haben Angelegenheit zuvor, aber nicht in dem Maße, ist forseen: Wir sind Skalierung Web-Anwendungen zu einem viel größeren Maße als je zuvor. There are more users, and inefficiencies are multiplied. Es sind mehr Nutzer, Ineffizienzen und multipliziert werden.
So it is great news that virtualization and on demand infrastructure will allow us to focus more on code efficiency since as Alistair (incidentally a veteran in the monitoring of applications) points out, it exposes more granular economics of computing. Es ist also eine höchst erfreuliche Nachricht, dass die Virtualisierung und-on-Demand-Infrastruktur wird es uns ermöglichen, sich stärker auf Code-Effizienz, da, wie Alistair (übrigens ein Veteran bei der Überwachung von Anwendungen) weist darauf hin, es setzt mehr granulare Ökonomie des Computing. These technologies are paving the way to greater infrastructure efficiencies and by forcing better utilization of hardware, putting more focus on the efficiency of the code that cohabits the infrastructure. Diese Technologien sind ebnet den Weg zu mehr Effizienz und Infrastruktur durch bessere Auslastung zwingen von Hardware, wobei ein stärkerer Akzent auf die Effizienz des Codes, cohabits der Infrastruktur.
Increasing code efficiency has been generally unimportant except in edge cases. Zunehmende Code-Effizienz wurde generell unwichtig, außer in Fällen Rand. Stability and function has been more of a concern while Moore’s law and incomplete costing of infrastructure have been more than compensating for performance. Stabilität und Funktion war eher ein Anliegen, während Moore's Law und unvollständiger Kalkulation der Infrastruktur wurden mehr als Abgeltung für die Leistung. Rapid application development platforms proliferate based upon the abilities of modern hardware to crunch “affordably” through the multiple layers of abstraction. Rapid Application Development-Plattformen vermehren auf der Grundlage der Fähigkeiten der modernen Hardware zu knirschen "günstig" durch die Mehrschichtigkeit der Abstraktion.
What me worry? Was mir Sorgen machen?
There’s definite potential for code to have an environmental impact. Es gibt definitiv Potenzial für Code zu Auswirkungen auf die Umwelt haben. We have an existing ecological disaster on our hands with the castoff personal computing hardware of both enterprises and consumers. Wir haben eine bestehende ökologische Katastrophe in unsere Hände mit dem castoff persönliche Computer-Hardware beider Unternehmen und die Verbraucher. Almost all of that computing power was wasted idling, never used, just for the ability to load Microsoft Office applications quickly. Fast alle dieser Rechenleistung verschwendet wurde Leerlauf, nie benutzt, nur für die Fähigkeit zum Laden von Microsoft Office-Anwendungen schnell. How do we acheive more efficient code? Wie erreichen wir eine effizientere Code? As more people rely more on computing, the costing of which is becoming more accurate and granular, and as the barriers of entry for developers drop, we should witness an evolutionary process at work battling inefficiency assuming: Da immer mehr Menschen verlassen sich auf Rechenzentren, die Kosten hierfür sind immer korrekt und körnig, und als die Zutrittsschranken für Entwickler fallen, sollten wir Zeugen eines evolutionären Prozesses bei der Arbeit im Kampf gegen Ineffizienz vorausgesetzt:
- large population of users Großteil der Bevölkerung von Nutzern
- competing applications konkurrierende Anwendungen
- rapid generation spans with modification Rapid Generation spannt mit Änderung
- market exerts selective pressure Markt übt Druck selektive
While I think these evolutionary forces are already at work, the selective pressures have been weak, the environment has been overly abundant leading to a Cambrian explosion of inefficiencies that eventually will be represented in costs that the market will react to, assuming that the market has the freedom to do so. Obwohl ich denke, diese evolutionäre Kräfte sind bereits in Arbeit, den selektiven Druck wurden schwach, die Umwelt wurde allzu reichlich was zu einer Explosion von Kambrium Ineffizienzen, die schließlich vertreten sein wird bei den Kosten, dass der Markt reagieren wird zu der Annahme, dass der Markt die Freiheit zu tun. This is where intellectual property issues and the “one platform to rule them all” attitude may present a bit of a speedbump, but only that. Dies ist, wo Fragen des geistigen Eigentums und der "One-Plattform, um sie alle"-Haltung kann ein wenig speedbump, sondern nur, dass.
Alistair’s most important point is highlighting that proper costing of computing is essential: if we want to minimize environmental impact we need to measure the efficiency of work performed by applications and the true cost of the resources they consume. Alistair's wichtigste Punkt ist hervorzuheben, dass eine ordnungsgemäße Kalkulation der Informatik ist von wesentlicher Bedeutung: Wenn wir wollen, zu minimieren Umweltauswirkungen müssen wir zur Messung der Effizienz der Arbeit, die von Anwendungen und die wahren Kosten der Ressourcen, die sie konsumieren. My conjecture is that an evolutionary process of anthropogenic artificial selection, automated or not, should optmize resource utilization. Meine Vermutung ist, dass ein evolutionärer Prozess der anthropogenen künstliche Selektion, automatisierte oder nicht, sollte optmize Ressourcenauslastung. This rests upon the premise of a competitive market, which I believe we are just starting to see in the world of software. Dies beruht auf der Prämisse eines wettbewerbsorientierten Marktes, die ich glaube, dass wir gerade erst anfangen, um zu sehen, in der Welt der Software.
For now I’m much more concerned with how poorly conceived code can compromise privacy, and restrictive code that restricts our freedom of communication and innovation. Im Moment bin ich viel mehr mit, wie schlecht konzipiert Code kann Kompromiss Privatsphäre und restriktive Code, schränkt unsere Freiheit der Kommunikation und Innovation. But those are stories for another post. Aber das sind Geschichten für einen anderen Dienstposten versetzt.














