~/talk

Energy Efficient Design Principles of Software Engineering

Talkat J-Fall 2023 · on Thursday, 2023-11-09· [web-performance, software-architecture]
slides:none on file

Measurements use Intel RAPL via perf to report CPU+RAM energy; running Spring PetClinic with ~110k requests in 15 minutes and a Quarkus test with ~650k requests in 15 minutes shows GraalVM native-image often cuts energy, but results vary by workload (Renaissance suites ran hours and favoured different JVMs). Method uses geometric mean over repeated runs and subtracts an idle baseline. Practical fixes include sequential memory access over random, guarded/parameterized logging and reusing exceptions to avoid fillInStackTrace overhead, Maven build cache (6s → 1s) and websitecarbon/CO2.js for frontend measurement.

AI-written summary · about

  1. 0:00Introduction to green software
  2. 3:15Why green software matters
  3. 5:02Eight principles overview
  4. 6:03JVM energy efficiency tests
  5. 12:10Measurement methodology details
  6. 23:27JVM selection takeaways
  7. 24:29Code guidelines with EOSona
  8. 27:20Memory access patterns
  9. 34:25Logging impact on energy
  10. 40:06Exception handling costs
  11. 43:01Java eco-friendly choice
  12. 43:45Maven caching optimization
  13. 45:54Autoscaling energy waste
  14. 46:58Web frontend efficiency
  15. 48:42Hosting and website carbon
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.