Faster, leaner, greener: 10x lower website carbon emissions with Thibaud Colas

0:24:57
Published December 6, 2024
1 views

We’ll first look at a quantitative assessment of thousands of Django websites on the web, to get a good picture of the Django ecosystem’s overall emissions, and understand which specific aspects of a project contribute to overall power and resource usage.

We’ll then dive deeper on a single Django website’s energy use, studying djangoproject.com specifically, as a good example of a high-traffic website with a big footprint. We’ll use different performance testing, power measurement, and generic static analysis tools to understand how the site could be improved. We will review common issues, straightforward improvements, and more “pie in the sky” changes that are attainable with effort:

Energy consumption of front-end technology (React, HTMX, vanilla JS) How design affects emissions (light vs. dark mode, image assets, fonts) Application server: serverless Django options to reduce emissions Database: how SQLite and other "serverless" database options can reduce emissions Overlap with common Django performance considerations

This talk was presented at: https://2024.djangocon.us/talks/faster-leaner-greener-10x-lower-website-carbon-emissions/

LINKS: Follow Thibaud Colas 👇 On Mastodon: https://fosstodon.org/@thibaudcolas On X: https://x.com/thibaud_colas Website: https://thib.me/

Follow DjangoCon US 👇 https://fosstodon.org/@djangocon https://x.com/djangocon

Follow DEFNA 👇 https://www.defna.org/

Video production by Confreaks Follow Confreaks 👇 https://confreaks.com https://x.com/confreaks

Presenters:

Note: We understand that names change, people change, and bodies change. We respect each individual's journey and privacy. If you have any concerns about a video or need us to remove content, please don't hesitate to contact us. We will handle your request with care and promptly address any issues.