~/talk

Practical Elixir Flow

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

Implements an Elixir pipeline using GenStage and Flow to fetch Github favorites over a paginated API (15 pages, 25 repos/page) and aggregate by month; calling take 100 triggers four page requests, showing the concrete cost of eager operations. Uses stream.resource to separate fetching from consumption, demonstrates tuning max_demand/min_demand to avoid serial bottlenecks, and exposes a real correctness hazard where parallel group_by produces duplicate keys unless explicit partitioning is used; code is open source and runnable.

AI-written summary · about

  1. 0:00Introduction
  2. 2:06Collections
  3. 5:15Streams
  4. 7:28Example
  5. 15:12Sequential Processing
  6. 17:22Properties
  7. 19:00GenStage
  8. 24:24GenStage Properties
  9. 24:56Level of Optimization
  10. 27:39Limit Regulation
  11. 30:47aggregation
  12. 32:46duplicate keys
  13. 35:04partitioning
  14. 37:53data loss
~/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.