How to implement sliding timeouts in your Elixir GenServers Top Open Source Frameworks in Elixir

Persisting event data to Postgres using GenStage and EventBus

One of the ways to consume EventBus events is implementing GenStage consumers. GenStage handles backpressure easily with configurable workers. event_bus_postgres library uses GenStage to persist event_bus events to postgres DB with batch insert.

https://dev.to/mustafaturan/persisting-event-data-to-postgres-using-genstage-and-eventbus-oi9

Shameless plug: Check out @elixirstatus' other community project:

Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.