Bellhop documentation¶
Start with getting started: a web application that runs jobs on PostgreSQL, with the dashboard, in five minutes.
- Getting started
- Concepts: at-least-once delivery, leases and the duplicate window, retries and timeouts, misfire, overlap and time zones
- Recipes: locks, a
[Lock]middleware, a Mediator bridge and a carbon-aware schedule, as samples rather than packages - Samples: a web app, a worker service, multi-tenancy, transactional enqueue and tests, each a project that builds with the code
- Option reference: every option with its default and when to change it
- Prometheus: exporting Bellhop's metrics in two lines
- Running in production: health checks, the dashboard's access rules and PostgreSQL
- Testing your jobs: the Bellhop.Testing harness
- Migrating from Hangfire: each Hangfire call and the Bellhop code it becomes
- Event ids: every event Bellhop logs, for filters and alerts
- Proving a store with the conformance suite: for store authors, the Bellhop.Storage.Conformance suite and the adapter it needs
- The Redis store: what it can lose, the durable servers, and why it has no transactional enqueue
- Redis key layout: the keys the Redis store keeps, its layout version, script rules and commands
- Diagnostics: the analyzers' warnings and the ids of deprecated APIs
- Upgrading: what an upgrade within a major version promises, and the guide for each major release; the changelog has every release
How these pages are kept true¶
The pages live in the repository and change with the code. Every C# block is copied from a file that the build compiles, under snippets/ or in a test, and named in the comment above the block. A test fails when a block differs from its file, when a C# block names no file, or when a JSON block does not parse, so a page cannot drift from the code it shows. The event id catalogue and the option reference are checked against the code the same way, and the samples build with every commit. Shell commands are not checked, except on the getting-started page: the acceptance run follows that page from dotnet new web, with its commands and the files it shows, and runs what it builds.