Cloud computing has abstracted our relationships with the hardware our websites run on. Thats led to environmental benefits, like the ability to scale applications up and down on demand, ending the need for every company to operate enough servers to keep up when traffic peaks. But it also means developers are further removed from the impact their code has on the physical world.
And code does have an impact it takes energy to run applications and transmit data, so inefficient and bloated code can add up to a significant environmental impact.
Tom Greenwood, co-founder of eco-conscious digital agency Wholegrain Digital, is happy to recommend steps the average developer can take to make a difference on the environment. His book, Sustainable Web Design, details many things developers, designers and tech companies can do to make a real difference through programming websites and its a real and pressing need.
The total annual emissions from the internet were somewhere around two percent of global emissions, Greenwood said, Thats roughly the same as aviation.
The good news is that small changes can make a big difference, especially for applications with large user bases. A piece of code might run millions or billions of times in its life cycle, and the effects will be felt as long the code is deployed. Even if an application is made just slightly more energy efficient, the savings can be magnified many times over.
MORE ON GREEN COMPUTINGLooking to Go Green? Start With Modernizing Your Companys Systems.
As Greenwood explains in his book, its hard to directly measure the carbon emissions of websites. The best way is to approximate by calculating how much energy an application consumes.
Thats related to the size of the application, often encapsulated by the concept of page weight. Page weight takes the size of the initial page as well as all the additional resources requested by the browser into account.
The average page weight for websites has steadily increased over the past few years. Today, the average page weight is 2 megabytes for both desktop and mobile applications 10 years ago it was half a MB for desktop and less for mobile. Greenwood said resources like videos, large images and computationally intensive animations add lots of weight to websites. One of the most significant ways to reduce that weight is by cutting down on file sizes and trimming excess data using compression.
In our experience, you can easily reduce the amount of data on a web page by 60 percent.
In our experience, you can easily reduce the amount of data on a web page by 60 percent, Greenwood said.
Developers can start by reducing unneeded animations and deleting unused, commented-out code. They can also look for the most optimal file formats to use. For images, Greenwood recommended developers use the WebP image format developed by Google. WebP images are 26 percent smaller than PNG images and about 30 percent smaller than JPEG images of the same quality.
WebP manages these size savings through compression. While most people are familiar with compression for transferring data, such as using zip files, Greenwood said there are actually two different types of compression: one kind makes files unusable, like zip files, and another simply reduces the size of usable files.
Theyve optimized the encoding of the image, so that the same image uses less data and just has a smaller file size, Greenwood said. You can make huge gains without any functional loss, really.
Energy consumption doesnt usually come to mind when developers choose between programming languages but maybe it should. Greenwood said choosing the programming language is another way developers can have control over the carbon footprint of their application.
Some programming languages are just inherently more energy efficient than others, he said.
Research published earlier this year compared 27 different programming languages across different categories and found significant differences in energy use between languages. In the category of scripting languages, for example, PHP uses about seven times more energy than JavaScript.
JavaScript, as a web language, is relatively efficient, Greenwood said. Its not one of the most efficient like C or C++, but JavaScript is pretty good as a web language.
Thats good news, because JavaScript is a popular language and growing in adoption. Developers can consider energy use an additional incentive to switch over for older web applications.
Browsers are increasingly handling more of the work of rendering web applications. The trend started years ago with the move toward single-page applications, where new content was provided by browsers requesting specific data from the server rather than the server sending new pages.
That innovation helped with efficiency on the server side because it can cut down on the total amount of data sent, but the continuing trend with giving browsers more computational work isnt great for efficiency
Data centers are just better optimized for processing data efficiently, whereas end-user devices are relatively inefficient, Greenwood said.
He encouraged developers to push their teams to do as much computational work on the server side as possible. But either way, developers can make computations more efficient by optimizing queries. Greenwood said theres more opportunity to do that type of optimization in code that has some user interaction component to it, because the program has to calculate how to handle the user interaction.
Applications that have been layered with new functionality without streamlining are a good place to look for opportunities for optimization.
Over time, you develop these features that become more and more complicated, Greenwood said. You might have a thing where in order to click yes or no, its actually going through some long sequence.
In addition to page weight, the carbon emission of a website is tied to the energy sources used to power the companys servers.
As companies move their servers to the cloud, they lose some direct control over the energy sources used to keep their servers humming but they do have control over which cloud providers to use. Vendors offer a wide variety of choices, and even choosing which geographical locations servers should be placed in gives developers say over energy sourcing.
Differences in vendors can also go beyond energy sourcing. Some vendors offer server-side efficiencies like caching, so applications dont have to be re-generated every time a user makes a request.
The rate of change in digital can be really, really rapid compared to other industries.
Having some sort of hosting provider that will optimize that for you is just an easy win, Greenwood said.
One of the biggest advantages for web developers is that these changes are relatively easy to make, he said. Even if companies cant currently make the investment, or cant find a suitable cloud hosting vendor, that doesnt mean its not possible at some point in the future.
There are no physical things that have to be remade, redesigned or remanufactured whereas in an industry like aviation, theres billions of dollars tied up in aircrafts that need to serve out their useful lives over the next 10 years or so, Greenwood said. So the rate of change in digital can be really, really rapid compared to other industries.
Developers can help by staying on the lookout for opportunities to make changes when its possible and makes sense for their companies.
MORE ON TECH AND CLIMATEWhy Tech Plays a Crucial Role in Climate Change Research
Tech companies as a whole can help push for changes too. Greenwood said adjusting company objectives to take efficiency into account can make a big difference.
Creating a culture of efficiency is probably the single biggest thing, because everything else will then just naturally spin off of that, he said.
That can mean focusing development teams on eliminating unnecessary code and paying attention to page weight as part of their metrics. And the best news is, efficiency isnt counter to most companys overall objectives.
A lot of companies do that in other areas of their businesses, like their logistics and their manufacturing, Greenwood said. But digital, in general, is more focused on building it fast and making it look cool, rather than Lets do it really, really well and make it really efficient.
Read more:
6 Ways to Reduce Your Website's Carbon Footprint - Built In
- Box for Android - Video [Last Updated On: February 26th, 2012] [Originally Added On: February 26th, 2012]
- eUKhost - eNlight Cloud Hosting! - Video [Last Updated On: February 26th, 2012] [Originally Added On: February 26th, 2012]
- Cloud Computing -- Oracle is Ready to Take You There - Video [Last Updated On: February 26th, 2012] [Originally Added On: February 26th, 2012]
- What is Cloud Computing? - Video [Last Updated On: February 26th, 2012] [Originally Added On: February 26th, 2012]
- Webinar - Cloud Computing: Why You Should Care - 2010-10-14 - Video [Last Updated On: February 26th, 2012] [Originally Added On: February 26th, 2012]
- What is Cloud Hosting? - Video [Last Updated On: February 26th, 2012] [Originally Added On: February 26th, 2012]
- Cloud Computing Misconceptions and Benefits - Video [Last Updated On: February 26th, 2012] [Originally Added On: February 26th, 2012]
- Cloud Hosting and How it is Set to Change Internet Commerce - Video [Last Updated On: February 26th, 2012] [Originally Added On: February 26th, 2012]
- Awesome Cloud Computing Explained with Animation - Video [Last Updated On: February 26th, 2012] [Originally Added On: February 26th, 2012]
- Rackspace Cloud Race - UK cloud hosting - Video [Last Updated On: February 26th, 2012] [Originally Added On: February 26th, 2012]
- Improved Cloud Service Delivery And Hosting | IBM - Video [Last Updated On: February 26th, 2012] [Originally Added On: February 26th, 2012]
- Cloud Computing Explained - Video [Last Updated On: February 26th, 2012] [Originally Added On: February 26th, 2012]
- Software companies turn to Savvis for cloud hosting and other SaaS services - Video [Last Updated On: February 26th, 2012] [Originally Added On: February 26th, 2012]
- Sky News Tech Report on Cloud Computing - Macquarie Telecom Interview - Video [Last Updated On: February 26th, 2012] [Originally Added On: February 26th, 2012]
- BitNami Cloud Hosting Demo - Video [Last Updated On: February 26th, 2012] [Originally Added On: February 26th, 2012]
- Fully managed Cloud Computing solution using your current IT infrastructure (Closed Caption) - Video [Last Updated On: February 26th, 2012] [Originally Added On: February 26th, 2012]
- Cloud Hosting Server Provisioning - Video [Last Updated On: February 26th, 2012] [Originally Added On: February 26th, 2012]
- iomart Hosting Provides Cloud Storage and Backup for new Branding Network [Last Updated On: February 28th, 2012] [Originally Added On: February 28th, 2012]
- Harris plans to stop offering remote cloud hosting [Last Updated On: February 28th, 2012] [Originally Added On: February 28th, 2012]
- iomart Hosting provides cloud storage and backup for new UK branding network [Last Updated On: February 28th, 2012] [Originally Added On: February 28th, 2012]
- DynamicOps Debuts "Fastest Path to Cloud" Seminar and Webinar [Last Updated On: February 28th, 2012] [Originally Added On: February 28th, 2012]
- Harris Corporation to Discontinue Cyber Hosting Operation; Will Continue Providing Advanced Cyber Security and Cloud ... [Last Updated On: February 28th, 2012] [Originally Added On: February 28th, 2012]
- Tutorial! Amazon Cloud Minecraft Server Hosting! - Video [Last Updated On: February 28th, 2012] [Originally Added On: February 28th, 2012]
- MachPanel 4.3 - SaaS and Cloud Hosting Control Panel for Windows - Video [Last Updated On: February 28th, 2012] [Originally Added On: February 28th, 2012]
- Webair Carrier Neutral Cloud: Open Network Access in the Cloud [Last Updated On: February 28th, 2012] [Originally Added On: February 28th, 2012]
- iomart Hosting Takes UK Digital Media Agency Into the Cloud [Last Updated On: February 28th, 2012] [Originally Added On: February 28th, 2012]
- FireHost Grows Executive Team on Heels of European Expansion; Appoints Jim Ciampaglio as Sr. Vice President of Global ... [Last Updated On: February 28th, 2012] [Originally Added On: February 28th, 2012]
- INetU Managed Hosting is SOC 2 and SOC 3 Compliant [Last Updated On: February 29th, 2012] [Originally Added On: February 29th, 2012]
- Web Host Webair Adds Carrier Neutral Cloud Services [Last Updated On: February 29th, 2012] [Originally Added On: February 29th, 2012]
- FireHost Appoints Jim Ciampaglio as Sr. Vice President of Global Sales and Marketing [Last Updated On: February 29th, 2012] [Originally Added On: February 29th, 2012]
- BitRock CEO on BitNami Cloud Hosting - Video [Last Updated On: February 29th, 2012] [Originally Added On: February 29th, 2012]
- Harris kills remote hosting service as customers shun cloud storage [Last Updated On: February 29th, 2012] [Originally Added On: February 29th, 2012]
- Understand Cloud computing in 60secs - Video [Last Updated On: February 29th, 2012] [Originally Added On: February 29th, 2012]
- Systech Integrators® Forms Strategic Relationship With Rackspace Hosting® to Offer Cloud Hosting Services for SAP® ... [Last Updated On: March 1st, 2012] [Originally Added On: March 1st, 2012]
- Dedicated & Cloud Hosting Provider Codero Names Industry Veteran Emil Sayegh, President & CEO [Last Updated On: March 1st, 2012] [Originally Added On: March 1st, 2012]
- Cloud Computing and Technology Mobility - Video [Last Updated On: March 1st, 2012] [Originally Added On: March 1st, 2012]
- Cloud Hosting Providers - Video [Last Updated On: March 3rd, 2012] [Originally Added On: March 3rd, 2012]
- Online Education Innovator Gives Virtual Internet Cloud Services an A+ [Last Updated On: March 3rd, 2012] [Originally Added On: March 3rd, 2012]
- SingleHop Introduces the Hosting Industry's First Customer Bill of Rights [Last Updated On: March 6th, 2012] [Originally Added On: March 6th, 2012]
- Cloud Services Provider Intermedia Launches Integrated Partner Program [Last Updated On: March 7th, 2012] [Originally Added On: March 7th, 2012]
- Cloud Services Provider Intermedia Now Offering Microsoft Office 365 [Last Updated On: March 7th, 2012] [Originally Added On: March 7th, 2012]
- Inside IT Cloud Computing Security - Video [Last Updated On: March 7th, 2012] [Originally Added On: March 7th, 2012]
- Lansing Cloud Host Introduces Faster ‘Storm SSD’ [Last Updated On: March 7th, 2012] [Originally Added On: March 7th, 2012]
- Leading Industry Analyst Firm positions Hosting.com as a Challenger in Managed Hosting Magic Quadrant [Last Updated On: March 8th, 2012] [Originally Added On: March 8th, 2012]
- Hosting.com Positioned as Challenger in Managed Hosting in Gartner's Magic Quadrant [Last Updated On: March 8th, 2012] [Originally Added On: March 8th, 2012]
- ServInt Announces the First Finalist for Its Inaugural Sextant Award, Recognizing the Most Effective Use of the ... [Last Updated On: March 8th, 2012] [Originally Added On: March 8th, 2012]
- Leading Analyst Firm Recognizes Savvis as a Leader in Two Cloud-Focused Magic Quadrants [Last Updated On: March 8th, 2012] [Originally Added On: March 8th, 2012]
- UK Cloud Computing Company iomart Hosting Recruits Scotland Footballers to Kick off New Campaign [Last Updated On: March 9th, 2012] [Originally Added On: March 9th, 2012]
- Rackspace Hosting Positioned as a Leader in the Leaders Quadrant of the Magic Quadrant for Managed Hosting Providers [Last Updated On: March 9th, 2012] [Originally Added On: March 9th, 2012]
- 4t Networks Offers Red Hat Enterprise Linux 6 for Cloud Hosting [Last Updated On: March 9th, 2012] [Originally Added On: March 9th, 2012]
- elchemyv2.wmv - Video [Last Updated On: March 9th, 2012] [Originally Added On: March 9th, 2012]
- Steve VanRoekel Keynote, NIST Cloud Computing Forum and Workshop IV - Video [Last Updated On: March 11th, 2012] [Originally Added On: March 11th, 2012]
- Hosting.com Enhances Backup Capabilities to Deliver Leading-Edge Data Recovery Solution for Businesses Any Size ... [Last Updated On: March 12th, 2012] [Originally Added On: March 12th, 2012]
- Online Tech Hosts Webinar on Cloud Computing in EHR/RCM Systems [Last Updated On: March 12th, 2012] [Originally Added On: March 12th, 2012]
- Hosting.com Enhances Backup & Data Recovery [Last Updated On: March 12th, 2012] [Originally Added On: March 12th, 2012]
- ServInt Introduces Its New Flex Line of High-Performance, Fully Managed Dedicated Servers [Last Updated On: March 14th, 2012] [Originally Added On: March 14th, 2012]
- Telefonica targets LatAm with business cloud [Last Updated On: March 14th, 2012] [Originally Added On: March 14th, 2012]
- TCWH Announces New InMotion Hosting Review 2012 [Last Updated On: March 14th, 2012] [Originally Added On: March 14th, 2012]
- Lokahi Expands Cloud Offering to Include Managed Security Services Through Partnership With StillSecure [Last Updated On: March 15th, 2012] [Originally Added On: March 15th, 2012]
- Eco Cloud Hosting IPv6 Ready with Web Application Firewall and Load Balancer - Video [Last Updated On: March 15th, 2012] [Originally Added On: March 15th, 2012]
- Private SharePoint Cloud Beats Other Cloud Hosting Options for Enterprises on Price, Practicality [Last Updated On: March 17th, 2012] [Originally Added On: March 17th, 2012]
- Private SharePoint Cloud Beats Other Cloud Hosting Options for Enterprises, Says AISN [Last Updated On: March 17th, 2012] [Originally Added On: March 17th, 2012]
- CaymanSecurity.com Introduces Secure Cloud Hosting Services [Last Updated On: March 19th, 2012] [Originally Added On: March 19th, 2012]
- Storm On Demand Introduces Windows Cloud Hosting [Last Updated On: March 20th, 2012] [Originally Added On: March 20th, 2012]
- Citrix Streamlines Delivery of Cloud-Hosted Apps and Desktops [Last Updated On: March 20th, 2012] [Originally Added On: March 20th, 2012]
- Cloud Computing Explained.mp4 - Video [Last Updated On: March 20th, 2012] [Originally Added On: March 20th, 2012]
- AMD Opteron 3200 Chips Target Cloud, Web Hosting [Last Updated On: March 20th, 2012] [Originally Added On: March 20th, 2012]
- Understanding the Cloud Computing Stack: SaaS, PaaS and IaaS | CloudU - Video [Last Updated On: March 21st, 2012] [Originally Added On: March 21st, 2012]
- Racemi Joins Rackspace Cloud Tools Program [Last Updated On: March 22nd, 2012] [Originally Added On: March 22nd, 2012]
- iNetRadio Adds User Music Cloud Hosting [Last Updated On: April 18th, 2012] [Originally Added On: April 18th, 2012]
- Managed Hosting Company, OneNeck IT Services, Selected by Southwest Home Builder for Cloud Services [Last Updated On: April 18th, 2012] [Originally Added On: April 18th, 2012]
- What is Cloud Hosting? - Australian Cloud Hosting Providers - Video [Last Updated On: April 18th, 2012] [Originally Added On: April 18th, 2012]
- Courion Leverages NaviSite's Enterprise Cloud to Deliver Identity and Access Management Software-as-a-Service [Last Updated On: April 24th, 2012] [Originally Added On: April 24th, 2012]
- TLD Solutions Launches Next Generation "4GH" Web Hosting [Last Updated On: May 4th, 2012] [Originally Added On: May 4th, 2012]
- ElasticHosts unveils simple cloud web hosting for SMEs [Last Updated On: May 4th, 2012] [Originally Added On: May 4th, 2012]
- Rackspace Hosting 1Q net income up on higher sales [Last Updated On: May 8th, 2012] [Originally Added On: May 8th, 2012]
- Infinitely Virtual Announces Support for Microsoft SQL Server 2012, Providing Cloud-Ready Hosting with Mission ... [Last Updated On: May 8th, 2012] [Originally Added On: May 8th, 2012]
- Kore Domains Launches Revolutionary New "4GH" Web Hosting Solution [Last Updated On: May 8th, 2012] [Originally Added On: May 8th, 2012]
- 4GH Web Hosting Europa Launches 4GH Cloud Web Hosting Solution in European Data Center [Last Updated On: May 10th, 2012] [Originally Added On: May 10th, 2012]
- Hughes Cloud Services & Hosting Showcases Its Comprehensive Enterprise IT Offering At ... [Last Updated On: May 12th, 2012] [Originally Added On: May 12th, 2012]