TEQnation 2024: Sustainable Software: May the Green Code Be with You

marcofolio 251 views 46 slides Jul 13, 2024
Slide 1
Slide 1 of 46
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46

About This Presentation

In a galaxy not so far away, software development is taking on an eco-friendly twist! Join me for a journey into the world of Green Software Development, where we explore how the Force of sustainability can be harnessed to create a better, greener future for software and the planet.

We'll fly a...


Slide Content

Sustainable
Software
May the Green Code Be with You

Addressing the
Elephant in the Room

The IT industry
emits more carbon
than the aviation
industry

There’s always
worse…

Twin Transition
Digital
Transition
Sustainability
Transition
Greening ofand by
IT & Data
Where Digital amplifies Sustainability

CSRD
Corporate Sustainability Reporting Directive

•From 2025, the EU directive for sustainable reporting will
apply to large listed companies.
•This so-called CSRD obliges them to report on their
sustainable impact.
•New research shows that 25% of Dutch companies covered
by the CSRD do not yet collect enough data.
fd.nl–19 nov2023
In short
A quarter of Dutch companies are not ready for
mandatory sustainable reporting

Sustainable Software
01
02
03
04
Emitting fewer greenhouse gases
The Green Side of Code
Embedding Sustainable Development Methods
Wrap-up & actions
Green Software
Technology
People
Closing

Green Software
Emitting fewer greenhouse gases

Green Software
Emitting fewer greenhouse gases

Green Software Foundation
Principles
Patterns
Practices
Azure Well-Architected
Framework

Green Software Principles
Energy Efficiency
Consume the least amount of electricity possible
Use the least amount of embodied carbon possible
Hardware Efficiency
Do more when the electricity is clean and less when it's dirty
Carbon Awareness

The Lightsaber

Electricity Maps
Climate Impact by Area

Carbon Intensity
Variability

Demand shifting
Temporal shifting12-16%
reduction
within a day

Demand shifting
Spatial shifting
30-90%
reduction
within EU

People
Embedding Sustainable Development Methods

People
Embedding Sustainable Development Methods

Share knowledge and impact
Use The Principles of Green Software Engineering
Start small
Create Awareness
Hold a Planet Retrospective
Add actionable items to the Sprint
Start with The Team

“As <type of user>, I want <some
goal> so that <some reason> ”
The Planet as a Stakeholder

Use smaller images
and files
Simpler & DarkerLet the end user decide
File size
Design
File format
Awareness
Optimize for less space
GreenUX

Website Carbon
Calculator
websitecarbon.com

Website Carbon
Calculator
websitecarbon.com

Website Carbon
Calculator
websitecarbon.com

Technology
The Green Side of Code

Technology
The Green Side of Code

Programming
Languages
Normalized global results for Energy

CO2Emission Benchmarks

Compress stored data
Optimize code by
doing less external API
or Database calls
Check which steps in
your CI/CD could be
optimized
Compress
Optimize
Cleanse
Pipeline
Remove unused data
and/or logs
Quick Wins

Store and swap blob data
from hot, cool, cold and
archive tier
Deploy workloads that can
handle interruptions and don't
need to be completed within a
specific period of time with a
huge discount.
Spot InstancesAccess tiers
Microsoft Azure

PUE
Power usage effectiveness

Cloud providers
Server locationPUECO2e
Google Cloud
PlatformEurope-west41.11631.04 kg
Amazon Web
ServicesNetherlands1.2682.20 kg
Microsoft
AzureWest Europe1.125639.57 kg

Measuring
What you can't measure, you can't improve

Software Carbon Intensity
SCI = ((E * I) +M)per R
Energy (E) consumed
by software in kWh
E
Carbon intensity (I),
carbon emitted per
kWh of energy,
gCO2/kWh
I
Embodied carbon (M),
the amount of carbon
emitted through the
hardware
M
Functional Unit (R), how
does software scale
R

Software Carbon Intensity
SCI = ((E * I) +M)per R

Cloud for
Sustainability API
Microsoft Azure
{
"value" : [{
"subscriptionName": "Hello World",
"azureRegionName": "Switzerland North",
"scope": "Scope",
"totalEmissions": "5.581207248",
...
}]
}

Azure
Emissions Impact Dashboard

Dynatrace
Carbon Impact

Kubernetes Event-
driven Autoscaling
Carbon Aware KEDA Operator

Impact
Framework
Green Software
total-embodied-emissions: 1533.12
expected-lifespan: 94348800
grid-carbon-intensity: 951
physical-processor: Intel Xeon Platinum
8370C v4 2.3 Ghz

Closing
Wrap-up & actions

First actions
Start small
Hold a Planet
Retrospective,
have Quick wins
Inspire
Share insights
Embed
Incorporate in
workflow
Measure
Set right tools in
place

Retrospectives with the Planet
Earth as Our Stakeholder
(Dutch) Manifest for sustainable IT
Green Software FoundationSustainableIT.org
The Agile PlaygroundCoalitieDuurzameDigitalisering
Standards tailored to IT's impact
on business sustainability
Building a trusted ecosystem for
Green Software
Further learning

“ Do...
or Do Not.
There Is No Try.”
—Yoda

This presentation template was created by Slidesgo, and includes icons by
Flaticon, and infographics & images by Freepik
May the Force
Be With You
Do you have any questions?
[email protected]
+31 6 -55 55 09 91