~/talk

Scala concurrency patterns with Actors

Talkat JavaDay 2013 · on Saturday, 2013-10-19· [scala, concurrency]
links:none on file
slides:none on file

Explains how Scala actor systems actually work: actors isolate mutable state and communicate via mailboxes, dispatchers and routers; an actor instance costs about 300 bytes and mailboxes can be bounded, prioritized or persistent. Covers supervisor strategies (four recovery actions), delivery semantics (at-least-once vs at-most-once), dispatcher choices (thread-pool, pinned-thread, deterministic) and tradeoffs when building a real system — cites a Samsung image-search case that tolerates partial loss rather than full transactional guarantees.

AI-written summary · about

  1. 0:00Introduction to Scala Actors
  2. 3:07Problems with shared mutable state
  3. 5:43History of the Actor model
  4. 7:14Core Actor model rules
  5. 11:24Actor message processing
  6. 15:50Creating Actors safely
  7. 17:44Supervisors and fault tolerance
  8. 19:11Actor routers and strategies
  9. 23:00Dispatcher types explained
  10. 25:28Monitoring and debugging Actors
  11. 26:47Message delivery guarantees
  12. 28:48When to use Actors
  13. 33:12Real-world use case at Samsung
  14. 35:48Demo setup and expectations
  15. 37:13Learning resources and tools
  16. 41:35Distributed Actors and clustering
  17. 45:05Actors as interfaces
  18. 46:38Event sourcing with Actors
  19. 48:25Distributed Actors challenges
  20. 50:08Benefits of Actors in one JVM
  21. 51:32Non-blocking vs blocking patterns
  22. 52:27Best practices and key takeaways
  23. 53:15Q&A and closing remarks
~/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.