Skip to main content

Background processing

Some workflows rely on background processing:

  • webhook processing
  • grant materialization and sweeps
  • aggregation and reporting (distribution-dependent)

Prereqs

Operational requirements

  • Monitor queue backlog and processing latency.
  • Ensure retries are bounded and idempotent.
  • Separate worker capacity from API capacity when necessary.

Verify

  • A synthetic webhook event is processed once.
  • Duplicate delivery is deduplicated.

Next