~/talk

Demystifying Performance

Talkat DDD Perth 2023 · on Tuesday, 2023-10-10· [software-architecture, web-performance]
links:none on file
slides:none on file

Shows that simple changes to data layout and access dominate performance: arrays with sequential cache-line access hit billions of additions per second on a laptop while random pointer-chasing (maps to heap objects) collapses throughput; disk falls to hundreds of thousands and network to tens of thousands. Describes Kafka as a sequential reads and writes replicated log with batching and zero-copy, CockroachDB using hybrid logical clocks and retries for distributed transactions, and Aeron using ring buffers for ultra-low latency. Emphasizes durability vs latency tradeoffs, preallocation, locality, avoiding shared writable state, batching and measuring.

AI-written summary · about

  1. 0:00Introduction to performance
  2. 1:11Speaker background and context
  3. 2:35Why performance fundamentals matter
  4. 4:23Application vs distributed performance
  5. 5:29CPU memory access basics
  6. 8:22Cache lines and data locality
  7. 10:28Benchmarking memory access speeds
  8. 11:54Hash maps and random access
  9. 13:23RAM and disk access patterns
  10. 14:28CPU cache happiness principles
  11. 15:30Synchronization and concurrency costs
  12. 17:14Data structures and algorithms matter
  13. 18:39Avoiding unnecessary features
  14. 19:21Distributed systems fundamentals
  15. 20:46Embarrassingly parallel workloads
  16. 21:09ACID and durability tradeoffs
  17. 23:18Two-phase commit explained
  18. 24:43Consistency models overview
  19. 26:53Strong vs eventual consistency
  20. 27:13Apache Kafka deep dive
  21. 29:42When to use Kafka
  22. 30:04Redis performance secrets
  23. 32:11CockroachDB architecture
  24. 33:38Conflict-free data types
  25. 35:25Aeron ultra-low latency
  26. 37:09Ring buffers and backpressure
  27. 38:11Garbage collection impact
  28. 39:35Durability versus latency tradeoff
  29. 40:19Key performance takeaways
  30. 41:26Importance of measurement
  31. 42:09Q&A with engineering manager
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.