#Genstage
2 notas · última:
Using GenStage to Notify a Phoenix Channel of Updates in Elixir
The post explores using GenStage to notify a Phoenix channel about model updates, first as an observer pattern, then by separating a notification center producer from a channel consumer.
Elixir: a few things about GenStage I wish I knew some time ago
The article separates GenStage use into owned sources, where demand is fetched and controlled upstream, and pushed sources, where backpressure matters because event volume is unpredictable.
