# River

> Fast and reliable background jobs

Source: https://talira.ai/catalog/river-2vkec0fw
Every listing: https://talira.ai/catalog.md

- Kind: Open core
- Types: Library, Command-line tool, Web app
- Categories: [devops / background jobs](https://talira.ai/categories/devops/background-jobs), [languages / go](https://talira.ai/categories/languages/go)
- Platforms: linux, macos, docker
- Licence: MPL-2.0
- Pricing: Free tier, from $125/month
- Pricing notes: Open source free (core and River UI). Pro $125/mo (up to 20 developers, email support); yearly billing saves $300. Enterprise custom: unlimited developers, Slack support, invoice/PO, SOC 2 report.
- Free tier: yes
- Self-hostable: yes
- SOC 2: yes
- API: yes
- Plugins: yes
- Backed by: [River Software](https://talira.ai/orgs/river-software.md)
- Creator: Blake Gentry and Brandur Leach

River is a transactional job queue backed by Postgres or [SQLite](https://talira.ai/catalog/sqlite-cys3nt23.md), with implementations in Go, Java, JavaScript/[TypeScript](https://talira.ai/catalog/typescript-w0asrgz8.md), Ruby and Rust that are cross-compatible: a job enqueued in one language can be worked in another, and Python can insert jobs. It encourages keeping jobs in the application's own database, so a job is enqueued only if its transaction commits and isn't visible to workers until then. It includes retries, scheduled, periodic and unique jobs, multiple queues, snoozing, batch insertion with COPY, transactional job completion, test helpers and River UI, an open source self-hosted web interface. River Pro adds workflows, batching, sequences, global concurrency limits, a dead letter queue, durable periodic jobs and encrypted jobs.

## Links

- Website: https://riverqueue.com
- GitHub: https://github.com/riverqueue/river
- Docs: https://riverqueue.com/docs
- Pricing: https://riverqueue.com/pro

## Problems it solves

- background jobs in Go backed by Postgres
- jobs that are enqueued in the same database transaction as the record they process
- a job must never run before the transaction that created it has committed
- enqueue a job from our Ruby or TypeScript service and process it in a Go worker
- retry failed jobs with backoff and inspect them in a web UI
- cron-style periodic jobs in a Go service
- don't enqueue the same job twice within an hour
- insert tens of thousands of jobs at once without one INSERT per job
- test that my Go handler enqueued the right job
- a job queue for a Go app that uses SQLite
- mark a job complete in the same transaction as the database work it did
- pick a long-running job back up from its last step after a crash
- workflows where one job waits on others, and concurrency limits across all workers
- a background job library for Rust or Java that shares a queue with other languages

## Features

- transactional enqueueing
- transactional job completion
- automatic retries
- scheduled jobs
- periodic and cron jobs
- unique jobs by args, period, queue and state
- multiple isolated queues and priorities
- snoozing and cancelling jobs
- batch insertion with COPY FROM
- subscriptions for telemetry
- test helpers
- recorded output and resumable jobs
- River UI web interface (binaries and container image)
- river CLI for migrations
- clients in Go, Java, TypeScript, Ruby and Rust; inserts from Python
- Pro: workflows, batching, sequences, concurrency limits, dead letter queue, durable periodic jobs, encrypted and ephemeral jobs

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Takes plugins: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.79 out of 1.
Signals: maintenance 1.00, adoption 0.75, momentum 0.67, community 0.68, backing 0.60, extensibility 0.60.

- last commit 9 days ago
- 209 commits in the last 90 days
- latest release v0.51.2 14 days ago
- 5.9k GitHub stars
- 49 contributors
- backed by River Software
- created by Blake Gentry and Brandur Leach
- has a plugin system
- security: SOC 2

## Alternatives

- [Oban](https://talira.ai/catalog/oban-ywj3cczs.md): Robust job processing in Elixir, backed by modern PostgreSQL, MySQL, and SQLite3
- [GoodJob](https://talira.ai/catalog/goodjob-1jjxahdr.md): Multithreaded, Postgres-based, Active Job backend for Ruby on Rails
- [Sidekiq](https://talira.ai/catalog/sidekiq-yt9yy9ky.md): Simple, efficient background processing for Ruby
- [BullMQ](https://talira.ai/catalog/bullmq-1m3vaf3x.md): Message queue and batch processing for Node.js, Python, .NET, Elixir, Rust and PHP
- [Temporal](https://talira.ai/catalog/temporal-0kdqtk1c.md): Durable execution platform for reliable workflows
- [gocron](https://talira.ai/catalog/gocron-e8cq5atx.md): A Golang job scheduling package which lets you run Go functions at pre-determined intervals
