Building Sustainable Software with Java
summary
Claims concrete savings and tools: global tech uses ~7% of electricity with data centers ~2% and streaming emits 55–100 g CO2 per hour; optimizing JVM choices like G1 GC ZGC Shenandoah Parallel Epsilon and GC tuning with -Xmx flags drops a sample run from >20s to 12.7s, and refactoring to primitives cuts 5.6s to 1.7s. Measure with JFR VisualVM Java Mission Control and macOS powermetrics, track carbon with Green Software Foundation carbon aware SDK Drace Prometheus Grafana, and expect reported cases of ~30–35% energy reduction and a claimed 2.7–3.8M cars equivalent.
AI-written summary · about
chapters (19)
- 0:00Introduction
- 1:21Energy cost of inefficient code
- 3:06Green programming in Java
- 3:48Optimizing garbage collection
- 5:33Tuning garbage collection to reduce impact
- 8:26JIT compilation boost
- 11:19Resource usage analysis
- 13:03Measuring energy consumption
- 14:31Reducing idle power
- 17:43Sustainable algorithms
- 19:31Green Java in cloud
- 20:33Kubernetes autoscaling
- 22:19Monitoring energy use
- 23:24Green Java success stories
- 25:11Performance vs sustainability
- 25:32Small sustainable steps
- 26:14Advocating green software
- 26:57Global impact of optimized code
- 27:19Q&A
related talks
31mCreate an eco-friendly world with Green Software Engineering
23mJava in the Green Cloud: Eco-Friendly Development with Kubernetes
49mThe Future is 💚: A Journey through the Energy Efficient ..
38mMemory Efficient Java
51mJava Performance Update: From JDK 21 to JDK 25
21mMemory Efficient Java
06mSimple Tweaks to Get the Most Out of your JVM
01h 28mThe dark art of performance tuning or how to become a performance hero ...
