Files
geointel/geointel/adr/ADR-006-job-processing.md
T
Jens 21015757bd
GeoIntel release gates / Compile, test, contracts and builds (push) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (push) Canceled after 0s
GeoIntel release gates / GIS image, SBOM and container scan (push) Canceled after 0s
Update
2026-07-27 23:13:09 +02:00

654 B

ADR-006 — Job Processing

Status

Accepted for V1.

Context

Raster tiling, detection, segmentation, QA, and exports can take longer than a normal HTTP request.

Decision

Use Redis + RQ for V1 background jobs. Every long-running operation creates an analysis_run or job record, updates status, stores outputs, and emits events.

Supported statuses:

  • pending,
  • queued,
  • running,
  • completed,
  • failed,
  • cancelled.

Consequences

The UI can show progress and status without blocking. RQ is easier than Celery for an initial solo/portfolio project.

Non-goals

No Kubernetes-native queues, no Airflow, no full workflow engine in V1.