Frequently Asked Questions
Does Larkspur guarantee exactly-once execution?
No. Larkspur provides at-least-once delivery. Handlers should be idempotent, or use unique_key together with your own deduplication.
How many jobs per second can it handle?
On PostgreSQL 16 with 8 workers we measure roughly 6,000 short jobs per second on a 4 vCPU instance. SQLite tops out around 900 jobs per second because writes are serialized.
Can I run multiple worker processes?
Yes. Leases are stored in the database, so any number of processes on any number of hosts can share a queue.
What happens when a worker crashes?
The job lease expires after visibility_timeout and the job becomes available again. The attempt counter is incremented.
How do I upgrade from 1.x?
Run larkspur migrate --from 1 once against your store, then deploy 2.x workers. The 1.x wire format is read-compatible for 90 days.
Is there a hosted version?
Not currently. Larkspur is designed to run inside your own infrastructure.
Where do I report a bug?
Open an issue on the project tracker with your version (larkspur version), store driver and a minimal reproduction.