~/talk

The Zen of Akka

slides:none on file

Fourteen concrete Akka rules: use messaging and many small actors with context.spawn to get hierarchy and supervision, avoid actor selection and give descriptive actor names (fetch-worker-1), prefer vars holding immutable collections over val with mutable containers, and never block the default dispatcher — configure a separate blocking dispatcher (thread-pool-executor). Replace Java serialization with Kryo or Protobuf (benchmarks show ~5x+ gains versus Java ser), use after+Future for timeouts, backoff supervisor for DB outages, and respect cluster allow-weakly-up members and convergence.

AI-written summary · about

  1. 0:00Start
  2. 1:10Agenda
  3. 1:25The Tao/Zen of Programming
  4. 3:01A 18: One actor is no Actor
  5. 5:1928: Structure your Actors
  6. 6:23Name your Actors
  7. 9:34"Matrix of mutability (Pain)"
  8. 25:31Backoff Supervision
  9. 28:03108: Design using State Machines
  10. 33:24118: Cluster Convergence and Joining CLUSTER PARTY 2016
  11. 39:14131: A fishing rod is a tool. Akka is a Toolkit.
  12. 41:56Happy hAkking, Community!
~/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.