~/talk

GenStage by Example

Talkat Oredev 2017 · 2017-11-08..11-10· [microservices]
slides:none on file

Claims GenStage turns an unbounded push pipeline into a demand-driven one with backpressure and shows it with Elixir code ingesting a CouchDB changes feed. The example builds a producer/broadcast and two slow consumers (each sleeping 2s) and measures a 154-event schedule and growing queues until GenStage enforces limits. Consumers request min 3 max 5 and start pulling at 50% capacity, producing a steady, predictable queue instead of memory blowup. Result: ingestion only happens when consumers can accept it, recovery needs tracking only a few events, and the example demonstrably works.

AI-written summary · about

  1. 0:00Intro
  2. 1:50LET'S TALK ABOUT EVENT PROCESSING
  3. 4:29STREAMS
  4. 6:40SIMPLE PUBSUB
  5. 12:23DEMAND-DRIVEN
  6. 18:05EXAMPLE TIME
  7. 20:23PUBSUB IMPLEMENTATION
  8. 24:57GENSTAGE IMPLEMENTATION
~/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.