Skip to content

ADR-005: Async Worker Orchestration for Verification and Anchoring

Status

Accepted

Context

Verification, scoring, and anchoring are latency-variable workflows and should not block user-facing submission calls.

Decision

Use asynchronous worker orchestration with idempotent event handlers for:

  • verification pipeline
  • points credit/debit posting
  • blockchain anchor batching

Synchronous API path is limited to validation + persistence + enqueue.

Consequences

  • Stable client response times and resilient retries.
  • Requires queue operations, dedupe keys, and stronger observability/runbooks.