Skip to content
Edit this page

Bellhop documentation

Start with getting started: a web application that runs jobs on PostgreSQL, with the dashboard, in five minutes.

  1. Getting started
  2. Concepts: at-least-once delivery, leases and the duplicate window, retries and timeouts, misfire, overlap and time zones
  3. Recipes: locks, a [Lock] middleware, a Mediator bridge and a carbon-aware schedule, as samples rather than packages
  4. Samples: a web app, a worker service, multi-tenancy, transactional enqueue and tests, each a project that builds with the code
  5. Option reference: every option with its default and when to change it
  6. Prometheus: exporting Bellhop's metrics in two lines
  7. Running in production: health checks, the dashboard's access rules and PostgreSQL
  8. Testing your jobs: the Bellhop.Testing harness
  9. Migrating from Hangfire: each Hangfire call and the Bellhop code it becomes
  10. Event ids: every event Bellhop logs, for filters and alerts
  11. Proving a store with the conformance suite: for store authors, the Bellhop.Storage.Conformance suite and the adapter it needs
  12. The Redis store: what it can lose, the durable servers, and why it has no transactional enqueue
  13. Redis key layout: the keys the Redis store keeps, its layout version, script rules and commands
  14. Diagnostics: the analyzers' warnings and the ids of deprecated APIs
  15. 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.