~/talk

Energy-Efficient Software Architecture for Developers

Talkat GOTO Aarhus 2023 · 2023-05-22..05-24· [software-architecture, web-performance]
slides:none on file

Measurements use a cheap power plug (≈150 DKK) and Linux powerstat to log CPU joules; a small test machine draws ~11 W idle and ~43 W at full load. A monolith serves at 20.3 mJ/request versus a naive microservice at 36.6 mJ/request (1.8×) when independent scaling isn’t used. Swapping MongoDB for Redis cuts server energy ~31%, adding a connection pool saves ~30%, bulk-fetching object attributes saves ~27%, and disabling excessive logging saves ~11.6%. Key tactics: shut down when idle, batch requests, use connection pooling.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Defining energy tactics
  3. 1:46Measuring energy usage
  4. 6:20Energy impact examples
  5. 7:52Software vs hardware efficiency
  6. 10:46CPU energy consumption
  7. 12:12Lab measurements
  8. 14:24General energy tactics
  9. 15:58The importance of measuring
  10. 17:13How to measure
  11. 18:52Prioritizing and awareness
  12. 20:14Tactic categories
  13. 20:57Shutdown when idle
  14. 21:51Microservices vs monoliths
  15. 22:37Pizza Land example
  16. 23:26Minimize payload
  17. 24:26Batch processing
  18. 26:52Caching data
  19. 27:55Efficient technology
  20. 30:42Energy proportionality
  21. 32:29Horizontal scaling
  22. 34:40Server utilization
  23. 35:39Queue theory
  24. 36:56Pooling resources
  25. 37:36Lower fidelity
  26. 38:12Logging overhead
  27. 39:13Feature creep
  28. 40:55Conclusion
~/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.