~/talk

Top Mistakes When Writing Reactive Applications

Talkat Scala Days Copenhagen 2017 · 2017-05-30..06-02· [reactive-programming]
slides:none on file

Covers concrete mistakes and fixes for Akka systems: Java serialization bloats footprints and caused a client to wait ~1 minute for persistent actors, so replace Java serialization with Kryo, Protobuf or JSON; use supervision with BackoffSupervisor (initial 3s, cap 30s, randomFactor 0.2) to avoid restart storms; implement graceful cluster shutdown via a coordinator or the coordinated shutdown extension; avoid 2PC, prefer the Saga pattern or eventual consistency; use hedging/ti requests to cut long tails (Google reported 40% drop in 99.9p); enable split brain resolver (SBR) and monitoring (Cinnamon/Kamon).

AI-written summary · about

  1. 0:00Intro
  2. 1:17Actors vs Futures
  3. 1:47Pick the Right Tool for The Job
  4. 3:28Actor Use Cases
  5. 4:05Future Use Cases
  6. 4:33Avoid Java Serialization
  7. 4:50Sending Data Through Network
  8. 5:22Persisting Data
  9. 5:53Java Serialization - Round Trip
  10. 6:09Java Serialization - Footprint
  11. 6:37Java Serialization Implementation
  12. 8:44Binary formats Schema-less
  13. 10:29Flat Actor Hierarchies
  14. 10:52The Actor Hierarchy
  15. 12:58Two Different Battles to Win
  16. 13:35Errors & Failures
  17. 14:43Error Kernel Pattern
  18. 15:19Backoff Supervisor
  19. 18:50Graceful Shutdown
  20. 19:21High-level Procedure
  21. 20:46Integration with Sharded Actors
  22. 21:27CoordinatedShutdown Extension
  23. 23:49Distributed Transactions
  24. 24:59Two-phase commit (2PC)
  25. 25:58Saga Pattern
  26. 29:32Investigating Longtail Latencies
  27. 30:20Tolerating Longtail Latencies
  28. 32:30Quick Tips
  29. 38:11Questions
~/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.