I have seen many GenServer implementations, I am trying to create one with such specifications, But I am not sure its GenServer's use case. I have a ...
I have seen many GenServer implementations, I am trying to create one with such specifications, But I am not sure its GenServer's use case. I have a ...
I'd like to be able to dynamically change a compute pipeline at runtime, but it seems that GenStage requires the compute graph to be defined at compil ...
I'm trying to include a GenStage in a Flow pipeline. However, this results in an exception being raised. If I understand correctly, Flow.through_specs ...
Im currently building a soft-realtime event processing system using Elixir and now Im trying to wrap my head around GenStage/Flow to understand if tha ...
From what I am reading here: https://hexdocs.pm/gen_stage/ConsumerSupervisor.html all the implementations of the ConsumerSupervisor only start a chil ...
I have a stream which doesn't produce data as fast as its consumed. So I have a producer defined like this: Then my producer-consumer subscribes t ...
At https://hexdocs.pm/gen_stage/GenStage.html#module-init-and-subscribe_to I define the GenStage modules with subscribe_to option If I run them man ...
I found some resources on how to test the producer, however there is nothing I could find which shows how to test the Consumer. In producer, I create ...
I have been playing with Elixir Flow for some time now and recently I was trying to parallelize my workflow using Flow and Repo.stream using: but i ...
I'm trying to write a Flow that looks like so: The other functions in the module look like this: But I keep getting this error: Line 18 is th ...
If my GenStage's handle_demand/2 method looks like this: How do I get it to "rerun" when my Queue (a GenServer) is changed/updated? My queue modul ...
For self-educational purposes I try to learn Elixir and to wrap my head around GenStage library. I read the documentation and got it for the most par ...
I have an example of genstage application, and in its consumers I need to use a connection with redis. And I do not understand how I need to pass this ...
Following scenario: A GenStage producer handles a Twitter Stream (using the Stream API and ExTwitter) and providing a set of tweets (max. the demand t ...