~/talk

Numbers every Scala programmer should know

Talkat Scala Days Copenhagen 2017 · 2017-05-30..06-02· [scala, web-performance]
links:none on file
slides:none on file

Argues that concrete, measured numbers drive optimization: uses JMH microbenchmarks on laptop and AWS to compare I/O, CPU and data-structure costs and shows surprising shifts (datacenter network throughput ~64× faster since 2005, JSON parse ~10µs for 2KB, single DB write ~5ms). Demonstrates that batch DB writes often cut latency by an order of magnitude, that blocking I/O saves CPU (non‑blocking only helps when CPU is the bottleneck), and that avoid List for >50 items while preferring for/while loops in hot paths.

AI-written summary · about

  1. 0:00Intro
  2. 1:43Why software performance matters
  3. 3:33Case studies
  4. 7:45What do the numbers tell us?
  5. 9:49Pipelining and Amortization
  6. 11:40Basic modern types of infrastructures
  7. 13:25Why data pipelines?
  8. 14:57Services, requests and inner loops
  9. 16:21Complexity analysis
  10. 17:03Optimizing expensive operations
  11. 19:48Performance of expensive operations
  12. 20:32Example analysis (answer)
  13. 22:18Total application performance
  14. 26:41Asynchronous performance impact
  15. 32:31Recursion and Loops benchmark code
  16. 35:25Collection benchmark methods
  17. 35:58Collection benchmark code
  18. 37:08Mutability benchmark methods
  19. 40:14How does this help us design software?
~/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.