Introduce GenStage
Learn how the GenStage library in Elixir uses stages to build data processing pipelines.
We'll cover the following...
The history of GenStage
GenStage
was initially developed by José Valim, the creator of Elixir, and released in July 2016. As he described it in the official announcement:
“GenStage is a new Elixir behaviour for exchanging events with back-pressure between Elixir processes.”
The previous chapter uses the GenServer
behaviour to build long-running server processes. The GenStage
behaviour, as its name suggests, builds ...