Larkspur Docs

Larkspur v2.4.1

Larkspur is a lightweight, embeddable job queue for Go and Python services. It persists jobs in SQLite or PostgreSQL, retries failures with exponential backoff, and exposes a small HTTP API for monitoring.

Getting Started

Install the worker, enqueue your first job and watch it run in under five minutes.

Configuration

Every option in larkspur.toml, with defaults and environment overrides.

HTTP API

Endpoints for queues, jobs, workers and health checks.

FAQ

Answers to common questions about delivery guarantees, scaling and upgrades.

Why Larkspur?

Architecture at a glance

┌────────────┐   enqueue    ┌──────────────┐   lease    ┌──────────┐
│  your app  │ ───────────▶ │  job store   │ ◀───────── │ workers  │
└────────────┘              │ sqlite / pg  │ ─────────▶ │ (N procs)│
                            └──────────────┘   result   └──────────┘

Producers write jobs to the store in a single transaction. Workers poll with SELECT … FOR UPDATE SKIP LOCKED (PostgreSQL) or an advisory lease table (SQLite), execute the handler and record the outcome.

Looking for the 1.x documentation? Version 1 reached end of life on 2026-03-31. See the changelog for migration notes.