~/talk

Experience report on using Akka in production: pitfalls and rewards

TalkinFrenchat ScalaIO 2019 · 2019-10-29..10-31· [microservices]
links:none on file
slides:none on file

A ScalaIO 2019 talk reports two years of running an Event Sourcing + CQRS application built with akka-persistence and akka-cluster-sharding, persisting events in Cassandra and publishing via Kafka. It covers practical ops: nightly load tests at 5,000 users, snapshots and migrations with Stamina, cluster formation using Consul/Zookeeper, short TTL (~30s) to reduce split‑brain, and lessons on deployment, scaling, monitoring, thread pools, serialization and event evolution; the cluster can auto-recover after failures.

AI-written summary · about

  1. 0:00Introduction
  2. 2:16Akka and you?
  3. 7:41Akka actors
  4. 9:41CORS, Event sourcing
  5. 14:07Application architecture
  6. 17:01Defining your protocol
  7. 18:21Actor management V2
  8. 19:10Actor façade
  9. 19:56Everything is asynchronous
  10. 20:29Pros and cons of futures
  11. 22:54akka-stream to the rescue
  12. 24:35Application initialization
  13. 26:01Event evolution
  14. 27:40Version evolution with stamina
  15. 28:57Deployment updates and high availability
  16. 29:11Docker swarm
  17. 30:10Cluster formation - V1
  18. 31:43Libraries for cluster formation
  19. 33:00Load scaling
  20. 35:07Fault tolerance / split brain
  21. 36:59Configuration example
  22. 38:21Monitoring
  23. 40:23Ease of adding metrics
  24. 40:41Handling capacity
  25. 43:10Points of attention
  26. 45:08Conclusion
~/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.