ElixirStatus
Read post

GitHub - b-erdem/belay: A durable job engine for Elixir, on Postgres. Jobs are built from memoized steps — retries resume work instead of redoing it. Budgets, workflows, human-in-the-loop, embedded da

Belay is a durable job engine for Elixir built on Postgres that makes the step — not the whole job — the unit of recovery. Completed steps are journaled and replayed in microseconds on retry, so expensive API calls, LLM invocations, and human-approval waits are never re-executed unnecessarily. Key features include memoized steps with cost tracking, per-job and fleet-wide spend budgets (including token-based rate limiting with true-up), human-in-the-loop via durable await/signal, dynamic fan-out DAGs, event streams, replay debugging, leaderless cron, encrypted inputs, and an embedded dashboard. It requires only Postgrex and Postgres — no Redis, no Ecto, no separate workflow server. The library ships at 1.0.0-rc.5 with formal TLC model verification (187M+ states, zero violations), a 7-hour chaos soak, and a proven migration path from Oban.

    #ai-agents#elixir
Jul 22•10m read time•From github.com
Post cover image
Table of contents
Quick startSteps, waits, fan-out — one workerBudgets and spend controlWhy it's built this wayThe workflow DAG viewFeature tourMeasured, not claimedProven on a real appComing from Oban?DocsStatusLicense
170 Impressions
ElixirStatus's image
ElixirStatus

ElixirStatus offers insights into Elixir programming language, OTP framework, and functional program...

215 Followers

•

1.7K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard