Can code be bad for the planet? Codice può essere cattivo per il pianeta?

October 14th, 2007 | by ian | 14 ottobre 2007 | di ian |

Alistair has an ha un interesting post on Earth2Tech post interessante a Earth2Tech , the thesis of which is that inefficient coding practices can lead to environmental harm. , La tesi dei quali è che le pratiche di codifica inefficiente può portare a danni ambientali.

I almost misled myself into thinking AC is blaming virtualization and SaaS/IaaS (infrastructure as a service) on creating such inefficiencies. I quasi indotti in errore in me stesso pensando AC è colpa di virtualizzazione e Saas / IAAS (infrastrutture come servizio) sulla creazione di tali inefficienze. 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. Piuttosto, ha saltato il passato evidente benefici ambientali di consolidamento server (migliore utilizzo delle risorse) e la centralizzazione del servizio (attraverso economie di scala) e si basa invece sulle conseguenze: codice inefficienze diventate più evidenti quando sei non sono più massicciamente overprovisioning hardware. This is an opportunity as much as a challenge. Questa è l'occasione più una sfida. 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 codice questione ha fatto in precedenza, ma non nella misura in cui è previsto: non siamo in scala applicazioni web ad un livello molto più grande che mai. There are more users, and inefficiencies are multiplied. Ci sono più utenti, e le inefficienze sono moltiplicati.

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. Così è grande notizia che la virtualizzazione e sulla domanda di infrastrutture ci consentirà di concentrarsi maggiormente sul codice di efficienza poiché, come Alistair (per inciso, un veterano nel monitoraggio delle domande) rileva, espone più granulare economia del 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. Queste tecnologie sono aprendo la strada a una maggiore efficienza delle infrastrutture e costringendo di una migliore utilizzazione di hardware, ponendo maggiore attenzione sulla efficienza del codice che cohabits le infrastrutture.

Increasing code efficiency has been generally unimportant except in edge cases. Aumentare l'efficienza del codice è stato generalmente poco importante, tranne nei casi bordo. 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. La stabilità e la funzione è stata più di una preoccupazione, mentre la legge di Moore e incompleta dei costi delle infrastrutture sono state più che compensare le prestazioni. Rapid application development platforms proliferate based upon the abilities of modern hardware to crunch “affordably” through the multiple layers of abstraction. Rapid Application Development piattaforme basate su proliferano le capacità hardware delle moderne a crunch "accessibilità" attraverso la più livelli di astrazione.

What me worry? Che cosa mi preoccupi?

There’s definite potential for code to have an environmental impact. C'è definitiva potenziale per il codice di avere un impatto ambientale. We have an existing ecological disaster on our hands with the castoff personal computing hardware of both enterprises and consumers. Siamo già un disastro ecologico sulle nostre mani con il castoff personal computer hardware sia delle imprese e dei consumatori. Almost all of that computing power was wasted idling, never used, just for the ability to load Microsoft Office applications quickly. Quasi tutti potenza di calcolo che è stato sprecato al minimo, mai utilizzato, solo per la capacità di caricare le applicazioni di Microsoft Office rapidamente. How do we acheive more efficient code? Come possiamo realizzare una più efficace codice? 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: Come un maggior numero di persone a contare più di calcolo, i costi di cui è sempre più preciso e più granulare, e come le barriere di entrata per gli sviluppatori goccia, dobbiamo testimonianza di un processo evolutivo durante il lavoro in lotta inefficienza assumendo:

  • large population of users vasta popolazione di utenti
  • competing applications applicazioni concorrenti
  • rapid generation spans with modification rapida generazione, abbraccia con la modifica
  • market exerts selective pressure mercato esercita pressione selettiva

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. Mentre ritengo che questi evolutivo forze sono già al lavoro, le pressioni selettive sono stati deboli, l'ambiente è stato troppo abbondanti che portano ad una esplosione del Cambriano inefficienze che eventualmente saranno rappresentati dei costi che il mercato reagirà a, supponendo che il mercato ha la libertà di farlo. 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. È qui che le questioni di proprietà intellettuale e la "piattaforma per uno Stato tutti i loro" atteggiamento può presentare un po 'di uno speedbump, ma solo quella.

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 punto più importante è sottolineare che una corretta dei costi di computer, è essenziale: se vogliamo ridurre al minimo l'impatto ambientale abbiamo bisogno per misurare l'efficienza del lavoro svolto dalle applicazioni e il vero costo delle risorse che consumano. My conjecture is that an evolutionary process of anthropogenic artificial selection, automated or not, should optmize resource utilization. La mia congettura è che un processo evolutivo di selezione artificiale di origine antropica, automatizzati o meno, dovrebbe optmize utilizzo delle risorse. This rests upon the premise of a competitive market, which I believe we are just starting to see in the world of software. Questo dipende la premessa di un mercato concorrenziale, che credo che siamo appena cominciando a vedere nel mondo del 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. Per ora sono molto più interessato a come mal concepito codice può compromettere la privacy, e restrittive codice che limita la nostra libertà di comunicazione e di innovazione. But those are stories for another post. Ma questi sono storie per un altro posto.

Post a Comment Posta un commento