101 Green Software
$14.99
Minimum price
$19.99
Suggested price

101 Green Software

A Practical Guide for Developers & Architects

About the Book

It's the year 2050.

We did nothing to stop climate change.

In the North and South Poles, the ice has melted completely. The rise of sea level flooded all the coastal cities around the world. Billions of people are homeless.

The weather conditions are extreme, affecting severely food production, which cannot meet worldwide demand.

Is that the future we want to live?

What can you do as a software engineer to help prevent climate change?

I used to think that recycling our garbage and driving electric cars was the best we could do!

However, it turns out that we can do a lot more to address global warming by contributing to reducing greenhouse gas emissions.

As software engineers, we build applications that eventually run on one or more servers, which consume electricity. Electricity is commonly generated by fossil fuels (coal, oil, gas); when burned, they produce carbon dioxide (CO2), the main driver of climate change.

Data centers and data transmission networks consume ~2% of the global electricity, emitting a significant amount of carbon dioxide.

This book helps you learn how to build sustainable software, enabling you to apply gained knowledge to your daily work. It provides practical guidelines that you can follow to:

  • re-architect existing software applications or
  • build new ones that have a reduced environmental footprint.

Buy this book now to be among the first to learn about Green Software Engineering & make an impact by helping prevent climate change!

  • Share this book

  • Categories

    • Software Architecture
    • Cloud Computing
    • Software Engineering
    • Java
  • Feedback

    Email the Author(s)

About the Author

Ioannis Kolaxis
Ioannis Kolaxis

Ioannis Kolaxis is a Lead Solution Architect and a Distinguished Expert at Atos, architecting software solutions that empower emergency services to save lives. He has been previously developing software for IBM and Siemens.

Ioannis was a kid in primary school when he first saw the green screen with the blinking cursor of an Amstrad CPC6128. This computer opened a new world to him, a world of continuous exploration and creation through programming.

He invented a novel way of working remotely, having filed five patents for software solutions. He has been awarded two times for coming up with the most innovative ideas at Atos Innovation Week 2020 and 2021.

Ioannis frequently speaks at conferences and meetups. He presented at Oracle Code One 2019 in San Francisco/USA, where conference attendees rated him as "Excellent" (5/5) both in terms of content and as a speaker.

Visit his website to learn more: https://kolaxis.dev

Packages

The Book
  • PDF

  • EPUB

  • MOBI

  • WEB

  • English

$14.99
Minimum price
$19.99
Suggested price
Discount Team Pack (6 copies)
  • PDF

  • EPUB

  • MOBI

  • WEB

  • English

$59.99
Minimum price
$74.99
Suggested price

Table of Contents

  • About this book
    • What can you do to prevent climate change?
      • Software decarbonization
      • Decarbonized software
    • How can you build green software?
    • The author’s perspective
  • 1 Don’t send your data around the world
    • 1.1 Place your servers close to your end-users
    • 1.2 Reduce the size of data sent over the network
      • Filter out unnecessary data
      • Compress data
      • Cache data
    • 1.3 Process data at its source
    • 1.4 Adopt energy-efficient protocols
      • How HTTP/2 works
      • Energy efficiency of HTTP/2
    • 1.5 Summary
  • 2 Run your software on carbon-free electricity
    • 2.1 Carbon-free electricity explained
    • 2.2 Electricity mix in power grids
      • Base load
      • Intermediate load
      • Peak load
    • 2.3 Assessing the electricity mix
    • 2.4 Choose a data center that consumes carbon-free energy
    • 2.5 Run your code when the sun shines
    • 2.6 Send your code where the sun shines
      • Run your code where it’s cold outside
      • Build a green Kubernetes scheduler
    • 2.7 Summary
  • 3 Get rid of redundant servers
    • 3.1 Redundant servers explained
    • 3.2 Adopt containers for high availability
    • 3.3 Leverage automation for high availability
    • 3.4 Summary
  • 4 Introduce a stop/start mechanism
    • 4.1 Run your application as serverless functions
    • 4.2 Run your application as serverless containers
    • 4.3 Prefer serverless services
    • 4.4 Summary
  • 5 Adopt green programming languages
    • 5.1 Prefer compiled languages
    • 5.2 Should you rewrite your application?
    • 5.3 Summary
  • 6 Decarbonize Java applications
    • 6.1 Upgrade to the latest version of Java
      • Benefit from compact strings
      • Enable Application Class-Data Sharing
      • Shrink your Java Runtime Environment
    • 6.2 Use a JVM that consumes less memory
    • 6.3 Use a Java framework that consumes less memory
    • 6.4 Summary
  • 7 How green is your software?
    • 7.1 Less is… green!
      • Get your cloud application Well-Architected
    • 7.2 Energy labels for software applications
      • What are the boundaries of your application?
      • How does your application compare to others?
    • 7.3 Summary
  • 8 How will you contribute?
    • 8.1 Set priorities
    • 8.2 Take your first steps
    • 8.3 Track your progress
    • 8.4 Reinvent software development
  • References
  • Author biography
  • Notes

The Leanpub 60-day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Do Well. Do Good.

Authors have earned$11,590,330writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF, EPUB and/or MOBI files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub