~/talk

Supercharge Your Workers with Storm

Talkat RailsConf 2014 · 2014-04-22..04-25· [microservices]
slides:none on file

Backend for Skylight runs on Apache Storm and shows how to replace DB coordination with spouts, tuples, partitions and states to scale realtime jobs; implements EWMA trending counts, uses Trident batching and partitioning to colocate keys, and persists at commit to get close to exactly‑once despite Storm’s at‑least‑once model; recommends JVM/JRuby bindings over MRI, mentions Redis and Kafka for queues; cites benchmark claims of one million messages per second and warns of operational overhead (Zookeeper, Nimbus, cluster rebalances).

AI-written summary · about

  1. 0:00Intro
  2. 0:17SUPERCHARGE YOUR WORKERS WITH STORM
  3. 1:04WHAT IS STORM?
  4. 2:44FAULT TOLERANT
  5. 3:16REALLY FAST
  6. 3:29LANGUAGE AGNOSTIC supposedly
  7. 4:19RUBY DSL: REDSTORM
  8. 4:45TWITTER TRENDING TOPICS
  9. 5:33EXPONENTIALLY WEIGHTED MOVING AVERAGES
  10. 8:19TWEETS FROM A GIVEN HASHTAG STOP
  11. 9:20IS IT WEB SCALE YET?
  12. 11:36ENTER STORM
  13. 11:46STREAMS / TUPLES
  14. 12:39SPOUT / STATE
  15. 14:29MORE TRANSFORMS
  16. 17:05DEFINE THE TOPOLOGY
  17. 18:37RUN IT
  18. 19:17WINNING
  19. 24:48EXECUTION IN BATCHES
  20. 29:48HOW MANY PARTITIONS?
  21. 30:09MANY SERVERS
  22. 30:19MANY THREADS PER SERVER
  23. 30:33MANY PARTITIONS PER THREAD
  24. 32:09#REALTALK
  25. 35:49MESSAGE PROCESSING GUARANTEES
  26. 36:22STORM IS AT LEAST ONCE
  27. 36:43MONOTONICALLY INCREASING BATCH IDS
  28. 39:49REQUIRES TRANSFORMS TO BE PURELY FUNCTIONAL
  29. 40:21REQUIRES THE SPOUT TO RE-EMIT IDENTICAL BATCHES
  30. 40:52TL;DR
  31. 41:07GOOD FOR COMPLEX DATA PROCESSING FLOWS
~/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.