Making an Asynchronous Function Synchronous with GenServer.reply Persisting event data to Postgres using GenStage and EventBus

How to implement sliding timeouts in your Elixir GenServers

https://engineering.tripping.com/how-to-implement-sliding-timeouts-in-your-elixir-genservers-cc5a2ed70db9