# oban-bg/oban

💎 Robust job processing in Elixir, backed by modern PostgreSQL, SQLite3, and MySQL

Repository: https://github.com/oban-bg/oban
Canonical: https://ross.abutalabs.com/products/oban
Homepage: https://oban.pro
Language: Elixir
License: Apache-2.0
License Family: permissive
Last push: 2026-08-25T15:34:24+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 2746, "days_push": 8, "days_rel": 8, "gap_med": 33, "n_releases_24m": 12}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3957, forks 368 (observed 2026-08-28T04:08:30.511944+00:00)

## What it is
Oban is a robust background job processing library for Elixir, backed by PostgreSQL, SQLite3, and MySQL, with transactional job insertion, retries, scheduling, and observability. A commercial Oban Pro tier adds durable workflows, global concurrency, rate limiting, batches, and unique jobs, and the framework also ships a Python version.

## Use cases
- run background jobs in elixir backed by postgres
- schedule recurring cron jobs in my phoenix app
- enqueue jobs transactionally with database changes
- build durable multi-step workflows with dependencies
- retry failed jobs with error handling
- limit job concurrency across a cluster
- process background tasks without redis

## When to choose
- you already run a SQL database and want job queues without extra infrastructure like Redis
- you need transactional, at-least-once job execution with retries and historic job retention
- you want cron scheduling, queue control, and telemetry out of the box
- you need durable workflows, batches, or global concurrency and are open to a paid Pro license

## When to avoid
- you need a language other than Elixir or Python
- you want a broker-based queue decoupled from your primary database
- you need sub-second latency fire-and-forget messaging rather than durable job processing
- you require Pro features like workflows or unique jobs but cannot use a commercial license

## Facets
- artifact type: library
- maturity: stable
- function: message-queue, scheduling, workflow-automation, monitoring, rate-limiting, database
- domain: backend, developer-tools, databases, microservices
- platform: elixir, jvm, python, self-hosted
- tags: background-jobs, job-queue, postgresql, sqlite3, mysql, cron, retries, oban-pro, workflows, elixir, automation, web-server

## Member repositories
- oban-bg/oban (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:30.511944+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:24:29.136341+00:00, confidence not recorded.
  - readme: https://github.com/oban-bg/oban (fetched 2026-08-28T04:08:30.511944+00:00, sha fc3310e5a245)
  - homepage: https://oban.pro (fetched 2026-08-29T09:18:08.299369+00:00, sha 49e0d637d071)
  - site_page: https://oban.pro/docs/pro (fetched 2026-08-29T09:18:08.310672+00:00, sha 00ddc49dd6ad)
  - site_page: https://oban.pro/docs/py (fetched 2026-08-29T09:18:08.312401+00:00, sha 09f21834013f)
  - site_page: https://oban.pro/docs/py_pro (fetched 2026-08-29T09:18:08.314277+00:00, sha 38c2e83bf745)
  - site_page: https://oban.pro/docs/pro/Oban.Pro.Workflow.html (fetched 2026-08-29T09:18:08.316090+00:00, sha 4aeb8433b56e)
  - site_page: https://oban.pro/pro (fetched 2026-08-29T09:18:08.302149+00:00, sha 676362cf1591)
  - site_page: https://oban.pro/pricing (fetched 2026-08-29T09:18:08.304571+00:00, sha c3881e277448)
  - site_page: https://oban.pro/releases/pro (fetched 2026-08-29T09:18:08.306469+00:00, sha b0feea869fb7)
  - site_page: https://oban.pro/releases/py_pro (fetched 2026-08-29T09:18:08.308838+00:00, sha 64abf6549483)
- Data as of 2026-08-30T08:39:29.467469+00:00.
