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