Green Coding with Spring Boot: Sustainability as a Path to ...
summary
Shows concrete gains for Spring Boot apps: measure per request energy, run a Maven/Gradle plugin that starts Spring Boot, runs load tests five times, samples with Tuler core and a Java agent, and outputs CSV method‑level energy and total CPU kJ so regressions (demo shows a 15% warmup regression) trigger a CI threshold or build breaker. Calls out specific wastes — 12 SQL queries per page, 3% idle CPU, 25% embodied emissions — and recommends modular monoliths, index fixes, virtual threads and native images when lifecycle fits.
AI-written summary · about
chapters (7)
- 0:00Introduction to green coding
- 3:13Why green code matters
- 12:48Principles and architecture styles
- 20:17Measuring energy consumption
- 33:02Tuler ecosystem and Maven plugin
- 43:39Java optimizations for sustainability
- 48:53Cultural shift and next steps
related talks
01h 13mSpring: Your next Java microframework
39mHow to Reduce the Footprint of Your Spring Boot Applications
49mMagical Beans and Mystery
51mLean Spring Boot Applications for The Cloud
48mSpring Boot for Devops
38mBootiful Spring Boot 3
56mSpring For Architects
52mSpring Recipes: A Collection of Common-Sense Solutions
