~/talk

Streams, External Services, and OTP

Talkat ElixirConf 2015 · 2015-10-01..10-03· [microservices]
links:none on file
slides:none on file

Argues that describing external resources as Enumerable and Collectable lets core logic stay declarative and testable, and shows real code: a production pipeline pulling from Amazon SQS into a task scheduler. Reuses James Fish’s streamrunner and a custom stream router to add supervision, demand tracking and routing, but surfaces limits: composed streams block on long polling, aggregate-demand forces the slowest consumer to throttle everyone, and current API requires starting sinks before the source.

AI-written summary · about

  1. 0:00Start
  2. 1:22Data is Messy
  3. 1:58Encapsulation
  4. 2:35Composition
  5. 3:30Supervision
  6. 3:59Enumerable
  7. 5:05Silly Example
  8. 6:44Now what?
  9. 7:03How about Task?
  10. 7:22No Mailbox Checking
  11. 8:05Stream Runner Courtesy of James Fish
  12. 8:36Suspended Streams
  13. 9:11The Loop
  14. 10:37StreamRunner Loop
  15. 11:11Demand/Supply Pattern
  16. 12:01Backpressure
  17. 13:59StreamRouter Loop
  18. 16:05Tracking Demand
  19. 16:27No Longer Good Enough
  20. 17:53Collectable Process
  21. 19:00Example Sink
  22. 19:44Supervised Stream
  23. 24:06Where are we?
  24. 25:11Remaining Questions
~/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.