Oban.Engines.QuackDB (Oban QuackDB v0.1.0)

Copy Markdown View Source

An experimental engine for running Oban with DuckDB through QuackDB.

QuackDB and DuckDB's Quack protocol are both experimental. This engine uses optimistic transaction retries for concurrent job claims and serializes unique inserts through the oban_locks table.

Configure QuackDB with a persistent DuckDB database for durable job storage. The Reindexer plugin is PostgreSQL-specific and must not be enabled.

Usage

Start an Oban instance using the QuackDB engine:

Oban.start_link(
  engine: Oban.Engines.QuackDB,
  notifier: Oban.Notifiers.PG,
  peer: Oban.Peers.Isolated,
  prefix: false,
  queues: [default: 10],
  repo: MyApp.ObanRepo
)