Sustainable Web Development in Startups: Applying Green Coding Principles for a Greener Future

This ad is not shown to multipass and full ticket holders
JSNation US
JSNation US 2025
November 17 - 20, 2025
New York, US & Online
See JS stars in the US biggest planetarium
Learn More
In partnership with Focus Reactive
Upcoming event
JSNation US 2025
JSNation US 2025
November 17 - 20, 2025. New York, US & Online
Learn more
Bookmark
Rate this content

As IT professionals, we play a critical role in energy consumption and emissions, and it's our responsibility to address this impact. By adopting greener practices in web development, we can contribute to achieving climate goals while still driving innovation and growth. I'll share insights of how we integrated principles of green web development in the redesign of our website and explain their impacts.

This talk has been presented at JSNation 2025, check out the latest edition of this JavaScript Conference.

FAQ

The two green coding principles discussed are: 1) Running cloud-native applications, which allows for flexible scaling and efficient resource use, and 2) Building lightweight applications to reduce computing effort, data transfer, and energy consumption.

Running cloud-native applications allows startups to scale resources flexibly, share hardware with other companies, and reduce idle resource usage. This approach minimizes the need for physical servers, reducing costs and environmental impact while providing a pay-per-use model that encourages resource optimization.

Highlane optimized their website by using smaller images, modern image formats, removing unused code, and improving user guidance to minimize data transfer. These changes helped reduce their website's carbon emissions by almost 50%.

Some tools and resources include PageSpeed Insights for loading performance, EcoGrader for sustainability suggestions, and the Green Software Foundation's principles for green software engineering. Additionally, the Web Sustainability Guidelines and Wholegrain Digital's blog provide valuable insights.

Building lightweight applications reduces computing effort and data transfer, leading to lower energy consumption and emissions. It also improves web page and app loading times, resulting in higher customer satisfaction and better SEO performance.

Risks include developers opting to scale resources instead of optimizing processes, and potential unintended scaling with auto-scaling features. These can lead to higher costs and resource usage if not managed properly.

Developers can find more information on green software engineering on the Green Software Foundation's website, which provides principles and guidelines for sustainable software development.

Interested candidates can apply for a job at Highlane by visiting their career webpage at highlane.net/career and submitting their application online.

Highlane's pay-per-use rental model for hydrogen trucks reduces the need for high starting investments and promotes the efficient use of resources. Their cloud-first data strategy further minimizes hardware waste and administrative overhead.

Sustainable web development is important because the digital world consumes a significant amount of energy, with electricity consumption doubling approximately every five years. The CO2 emissions from digital activities are already twice as high as those of global air traffic. Applying green coding principles can help reduce this digital footprint and mitigate the effects of climate change.

Katharina Fetzer
Katharina Fetzer
19 min
16 Jun, 2025

Comments

Sign in or register to post your comment.
Video Summary and Transcription
Katharina Fetzer emphasizes the importance of green coding principles in startups amidst climate change. High Lane implements cloud native applications and lightweight solutions. Efficient load handling in the cloud involves scalable virtual servers. Resource sharing and optimization in the cloud promote cost efficiency. Highlane's cloud-first strategy and lightweight app development aim for a greener web presence. The webpage relaunch at Highlane reduced emissions by 50%.

1. Sustainable Web Development Talk

Short description:

Katharina Fetzer discusses the importance of applying green coding principles in startups due to the increasing impact of climate change and the high energy consumption of the digital world. She presents two key principles: run cloud native applications and build lightweight applications, exemplifying their implementation at High Lane.

Hey, welcome to my talk about sustainable web development. I am Katharina Fetzer, and I want to show you some ways how to apply green coding principles in startups. But before I start, let's talk a bit about why I think this topic is important. Here you can see the medium temperatures in Germany in the last years. And like that, it is in many countries here in Germany, the temperatures are rising higher and higher. And in the last few years, we were already above 1.0 degrees above average. And these rising temperatures lead to more and more extreme weather, for example, drought, wildfires, and also floods. And all these pictures were taken in Europe in the last five years. But these events are happening all over the world and they are happening right in front of us. And although we can already see the impact of climate change, there's still not enough action taken. And now you might wonder why is this relevant for me as a developer? And the thing is, the digital world needs more and more energy. The electricity consumption is doubling almost every five years, and the CO2 emissions are already twice as high as those of global air traffic. So if you are thinking about your CO2 footprint and want to reduce flights, then thinking about the digital footprint is also a good idea. But digitalisation can also be a chance, it can also help to reduce emissions. But to do this, it's important that the digital products themselves are created in a green way. To do that, I want to present today two green coding principles. There are many more of them, and in the end, I will share a link with you where you can find more information. But today, I want to focus first on run cloud native applications and second on build lightweight applications. I also want to show you how we at High Lane implemented these principles.

2. Green IT Solutions at High Lane

Short description:

High Lane's approach to offering hydrogen trucks in a pay-per-use model is facilitated by IT to handle kilometre data for invoicing. The importance of running cloud native applications is emphasized through an example from a weather company, showcasing the impact of weather changes on web server load.

Before we dive deep into these principles, a very short introduction about High Lane, the company I am currently working for. They are a start-up based in Cologne, and we are offering hydrogen trucks in a pay-per-use rental model, which makes it easier for our customers to operate these vehicles without high starting investments. And this pay-per-use model is enabled by IT because we have to process the kilometre data to create invoices at the end of the month because our customers are only paying for the kilometres they drive.

So let's start with the principles. First, run cloud native applications. Why is this a good idea? And here, to explain that, I added an example from my last workplace. I used to work for a weather company, which offered weather information online through a web page and different apps. And here you can see a normal week in summer. The first two days are very sunny and not many people are interested in the weather. There are no clouds in the sky, so it's quite boring.

But the third day is different. In the forenoon, first clouds start to form and the people start wondering, will I be able to do a barbecue in the evening or will I be able to get home with my bicycle in a dry way? Or will it rain and I have to cancel my plans? And then that's why the load is rising. And then the clouds are getting bigger and bigger. The thunderstorm is approaching a larger city. Many people are hearing the first thunders far away and many people open their app to see what's going on. And this gets quite stressful for the web server and the system administrators, because the load the web server is rising higher and higher.

3. Efficient Load Handling in Cloud Operations

Short description:

In the cloud, handling load spikes is efficient through scalable virtual servers, reducing hardware needs. The system adapts quickly to load changes, optimizing resource usage. Cloud-based operations offer flexible scaling, cost optimization, and efficient resource sharing.

The thunderstorm is approaching a larger city. Many people are hearing the first thunders far away and many people open their app to see what's going on. And this gets quite stressful for the web server and the system administrators, because the load the web server is rising higher and higher. It's reaching almost 100 percent. But this time, everything went well. We are stopping at, I don't know, 95 percent. The thunderstorm goes away and the load starts to fall again. And the next day, sunny again, weather's boring again and nobody is really interested in the weather.

Our system administrator is wondering, okay, what can I do to prevent such a stressful situation? What can I do that next time the web servers are still able to handle the load, even if the thunderstorm will be approaching a bigger city and even more people will open the apps and the web page. In the old world before the cloud, the solution for this situation would be to set up a second web server, which would have the effect that on this thunderstorm day, we would only go to 50 percent of the load. But on the other days, of course, the load would be lower as well and it would be even more boring for the servers and they would be idling around a lot of the time.

In the cloud, we can handle that scenario much better. We can use just the virtual web servers that we really need. But at the same time, we have almost infinity spare capacity because when we notice the load is rising in that moment, we can add other virtual servers and that way we are able to react to the changes in load very, very quickly. This means we have less hardware used and, yeah, also less servers idle that, yeah, are using resources. In the cloud, we have the chances that we are able to scale our virtual resources in a very flexible way.

4. Resource Sharing and Optimization in Cloud

Short description:

Other companies can utilize spare capacity in the cloud, leading to efficient resource sharing. Pay-per-use model motivates optimization and cost-conscious decisions. Risks in scaling resources in the cloud require a balance between optimization and scalability.

And in the same time, other companies that might have other factors that influence the load, other companies that are not reliant on the weather, they can use the spare capacity in the time that we are not using it. So in sum, this means we have less hardware used and, yeah, also less servers idle that, yeah, are using resources. So in the cloud, we have the chances that we are able to scale our virtual resources in a very flexible way.

To stay with the example, when the weather gets more interesting, we can add virtual servers and then when it's boring again, we can reduce them. We are sharing hardware with other companies so that we need less hardware in sum. And also the cloud operator focuses on efficient operation so they can do that much better than many small and medium-sized companies would be able to. And also, like our business model, it's pay-per-use which leads to a motivation to optimize because when we add more virtual resources, of course, it's more expensive.

But there are also some risks in the cloud. For the developers, often it's easier to just scale the resources up than to optimize the processes. So we will have to do some work here to make them think about that it's also a good idea to optimize first and only scale up when we really need to. And also it might happen, especially when we have auto-scaling active, that scaling happens by mistake. But there are also some possibilities how to prevent that.

5. Cloud-First Strategy and Lightweight Applications

Short description:

Highlane's cloud-first approach reduces administration and enables quick testing of setups. Building lightweight applications reduces energy consumption and costs, improving loading speed and user experience. Research on website optimization led to suggestions like media optimization, code removal, and improved user guidance, aiming for a greener and more efficient web presence.

But there are also some possibilities how to prevent that.

Okay, you know, now what did we do at Highlane? We set up a cloud-first principle in our data strategy. When I started at Highlane, we didn't have any own servers and we don't plan to have them. We are a cloud-first company. We set up everything in the cloud or we are using software as a service. For us, this has the advantage that we need less administration. Also, we are able to test new setups very quickly. You know, because it's pay-per-use, it's growing with us and we don't waste hardware capacity. Because we started very small and then our own web server would be either way too big or it will get too small very fast as we are growing bigger and bigger.

So, yeah, let's continue with the second principle. It's build lightweight applications. And the aim here is to reduce computing effort and data transfer to consume less energy and to reduce emissions. And it also has some positive side effects, especially in the cloud. Less computation also means less costs. When you are reducing the data that is transferred, it also leads to faster loading of web pages and apps, which should lead to happy customers and also to a higher Google ranking. So that might also be an argument to convince your marketing department that this is a good idea. And as an example, here I use our own web page, pylane.de. And out of curiosity, in March 2024, I tried out this website carbon.com tool to get an idea about how green our web page is. And as you can see here, we were only getting a rating of D, which is not so good. At least the web page is running on sustainable energy. But then we did a bit of research. What can we do to improve the rating and to reduce emissions? And how did we do the research? First, we had a look at PageSpeed Insights, because the loading performance can serve as a proxy measurement for the emissions. Also, we looked at EcoGrader, which gave us also very good suggestions, and we got some general hints from a whole grain digital blog post. I will show you the link in the end. And the recommendations were first to optimize media, to use smaller images, and to use modern image formats. To remove unused code, there were some CSS rules and JavaScript found that was not used. And also some general hints. Generally, it's a good idea to use less images, to avoid animations and auto-playing videos, because videos need a lot of data, and then auto-playing is a very bad idea as well. And also to improve the user guidance, because if the users have to move through three or four pages to get to the place where they want to get, then you are opening three pages that don't give any advantage to the user here. So it's annoying for the user, and also you transfer more data than you need to.

6. Webpage Relaunch and Hiring Node.js Developer

Short description:

Highlane's webpage relaunch led to a 50% reduction in emissions. Links provided for further information on green software engineering and web sustainability guidelines. Highlane is hiring a Node.js developer; visit highlane.net/career for details. Contact Highlane via email and follow on LinkedIn for updates.

And then we did a relaunch of our webpage. We used less images, and also we are using Avis images right now as a format. And by these things, we were able to reduce the emissions by almost 50%, which we are very proud of. But of course, we are not done here. We want to improve further, and also we didn't have implemented all recommendations by now.

Okay. Now I think many of you might be very interested in the topic and want to find out more about it. So here I added three links where you can start looking for more information. First, on the webpage of the Green Software Foundation, you can find all the principles of green software engineering. Then, especially for web development, I also think the Web Sustainability Guidelines are a very nice place to start your research. And third, here's also the whole grain digital blog post that helped us to improve our webpage.

Now, yeah, one last thing. We are currently looking for new colleagues. We are especially looking for a Node.js developer. So if you are interested in working with us at Highlane, then please go to our career webpage. You can find it on highlane.net slash career. And yeah, we are looking forward to your applications. Thank you very much. If you want to contact me, you can send me an email. And if you want to stay updated with Highlane, you can follow us on LinkedIn, where you get the newest information right away.

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

Debugging JS
React Summit 2023React Summit 2023
24 min
Debugging JS
Top Content
Watch video: Debugging JS
Debugging JavaScript is a crucial skill that is often overlooked in the industry. It is important to understand the problem, reproduce the issue, and identify the root cause. Having a variety of debugging tools and techniques, such as console methods and graphical debuggers, is beneficial. Replay is a time-traveling debugger for JavaScript that allows users to record and inspect bugs. It works with Redux, plain React, and even minified code with the help of source maps.
A Framework for Managing Technical Debt
TechLead Conference 2023TechLead Conference 2023
35 min
A Framework for Managing Technical Debt
Top ContentPremium
Today's Talk discusses the importance of managing technical debt through refactoring practices, prioritization, and planning. Successful refactoring requires establishing guidelines, maintaining an inventory, and implementing a process. Celebrating success and ensuring resilience are key to building a strong refactoring culture. Visibility, support, and transparent communication are crucial for addressing technical debt effectively. The team's responsibilities, operating style, and availability should be transparent to product managers.
Building a Voice-Enabled AI Assistant With Javascript
JSNation 2023JSNation 2023
21 min
Building a Voice-Enabled AI Assistant With Javascript
Top Content
This Talk discusses building a voice-activated AI assistant using web APIs and JavaScript. It covers using the Web Speech API for speech recognition and the speech synthesis API for text to speech. The speaker demonstrates how to communicate with the Open AI API and handle the response. The Talk also explores enabling speech recognition and addressing the user. The speaker concludes by mentioning the possibility of creating a product out of the project and using Tauri for native desktop-like experiences.
A Practical Guide for Migrating to Server Components
React Advanced 2023React Advanced 2023
28 min
A Practical Guide for Migrating to Server Components
Top Content
Watch video: A Practical Guide for Migrating to Server Components
React query version five is live and we'll be discussing the migration process to server components using Next.js and React Query. The process involves planning, preparing, and setting up server components, migrating pages, adding layouts, and moving components to the server. We'll also explore the benefits of server components such as reducing JavaScript shipping, enabling powerful caching, and leveraging the features of the app router. Additionally, we'll cover topics like handling authentication, rendering in server components, and the impact on server load and costs.
Power Fixing React Performance Woes
React Advanced 2023React Advanced 2023
22 min
Power Fixing React Performance Woes
Top Content
Watch video: Power Fixing React Performance Woes
This Talk discusses various strategies to improve React performance, including lazy loading iframes, analyzing and optimizing bundles, fixing barrel exports and tree shaking, removing dead code, and caching expensive computations. The speaker shares their experience in identifying and addressing performance issues in a real-world application. They also highlight the importance of regularly auditing webpack and bundle analyzers, using tools like Knip to find unused code, and contributing improvements to open source libraries.
Monolith to Micro-Frontends
React Advanced 2022React Advanced 2022
22 min
Monolith to Micro-Frontends
Top Content
Microfrontends are considered as a solution to the problems of exponential growth, code duplication, and unclear ownership in older applications. Transitioning from a monolith to microfrontends involves decoupling the system and exploring options like a modular monolith. Microfrontends enable independent deployments and runtime composition, but there is a discussion about the alternative of keeping an integrated application composed at runtime. Choosing a composition model and a router are crucial decisions in the technical plan. The Strangler pattern and the reverse Strangler pattern are used to gradually replace parts of the monolith with the new application.

Workshops on related topic

Building a Shopify App with React & Node
React Summit Remote Edition 2021React Summit Remote Edition 2021
87 min
Building a Shopify App with React & Node
Top Content
Workshop
Jennifer Gray
Hanna Chen
2 authors
Shopify merchants have a diverse set of needs, and developers have a unique opportunity to meet those needs building apps. Building an app can be tough work but Shopify has created a set of tools and resources to help you build out a seamless app experience as quickly as possible. Get hands on experience building an embedded Shopify app using the Shopify App CLI, Polaris and Shopify App Bridge.We’ll show you how to create an app that accesses information from a development store and can run in your local environment.
Build a chat room with Appwrite and React
JSNation 2022JSNation 2022
41 min
Build a chat room with Appwrite and React
Workshop
Wess Cope
Wess Cope
API's/Backends are difficult and we need websockets. You will be using VS Code as your editor, Parcel.js, Chakra-ui, React, React Icons, and Appwrite. By the end of this workshop, you will have the knowledge to build a real-time app using Appwrite and zero API development. Follow along and you'll have an awesome chat app to show off!
Hard GraphQL Problems at Shopify
GraphQL Galaxy 2021GraphQL Galaxy 2021
164 min
Hard GraphQL Problems at Shopify
Workshop
Rebecca Friedman
Jonathan Baker
Alex Ackerman
Théo Ben Hassen
 Greg MacWilliam
5 authors
At Shopify scale, we solve some pretty hard problems. In this workshop, five different speakers will outline some of the challenges we’ve faced, and how we’ve overcome them.

Table of contents:
1 - The infamous "N+1" problem: Jonathan Baker - Let's talk about what it is, why it is a problem, and how Shopify handles it at scale across several GraphQL APIs.
2 - Contextualizing GraphQL APIs: Alex Ackerman - How and why we decided to use directives. I’ll share what directives are, which directives are available out of the box, and how to create custom directives.
3 - Faster GraphQL queries for mobile clients: Theo Ben Hassen - As your mobile app grows, so will your GraphQL queries. In this talk, I will go over diverse strategies to make your queries faster and more effective.
4 - Building tomorrow’s product today: Greg MacWilliam - How Shopify adopts future features in today’s code.
5 - Managing large APIs effectively: Rebecca Friedman - We have thousands of developers at Shopify. Let’s take a look at how we’re ensuring the quality and consistency of our GraphQL APIs with so many contributors.
Build Modern Applications Using GraphQL and Javascript
Node Congress 2024Node Congress 2024
152 min
Build Modern Applications Using GraphQL and Javascript
Workshop
Emanuel Scirlet
Miguel Henriques
2 authors
Come and learn how you can supercharge your modern and secure applications using GraphQL and Javascript. In this workshop we will build a GraphQL API and we will demonstrate the benefits of the query language for APIs and what use cases that are fit for it. Basic Javascript knowledge required.
0 To Auth In An Hour For Your JavaScript App
JSNation 2023JSNation 2023
57 min
0 To Auth In An Hour For Your JavaScript App
WorkshopFree
Asaf Shen
Asaf Shen
Passwordless authentication may seem complex, but it is simple to add it to any app using the right tool.
We will enhance a full-stack JS application (Node.js backend + Vanilla JS frontend) to authenticate users with One Time Passwords (email) and OAuth, including:
- User authentication – Managing user interactions, returning session / refresh JWTs- Session management and validation – Storing the session securely for subsequent client requests, validating / refreshing sessions
At the end of the workshop, we will also touch on another approach to code authentication using frontend Descope Flows (drag-and-drop workflows), while keeping only session validation in the backend. With this, we will also show how easy it is to enable biometrics and other passwordless authentication methods.