Java in the Green Cloud: Eco-Friendly Development with Kubernetes
summary
Practical steps for greener Java: upgrade to GDK 21 to get J1 GC by default or try ZGC/Chinandua, enable GC logs and tune G1 GC pause settings to cut a real example from 20.44s to 12.7s; favor JIT escape analysis and primitives to avoid millions of heap objects; measure energy with macOS power matrix (example: CPU power 3.76W → 1.53W, a 146% yearly waste if left unchanged); use horizontal pod autoscaler and VPA on Kubernetes; Carbon Aware SDK and Grafana track carbon and show a reported 40% energy reduction.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 1:04Why sustainability matters
- 2:52Green programming strategies
- 8:34Analyzing resource usage
- 15:40Java in the cloud
- 21:21Call to action
related talks
28mBuilding Sustainable Software with Java
31mCreate an eco-friendly world with Green Software Engineering
53mCalibrate Garbage Collection on the Ground and Run Your Java App
53mCalibrate Garbage Collection on the Ground and Run Your Java App
51mJava Performance Update: From JDK 21 to JDK 25
47mSecrets of Performance Tuning Java on Kubernetes
49mThe Future is 💚: A Journey through the Energy Efficient ..
50mJava 8 to 17+ Upgrade - Lessons Learned and Best Practices
