Add candidate PRD: distributed CPU workers for AI-Legal

↗ view on GitHub · 007 · 2026-05-23 · 6207adcd

Goal-oriented proposal to move long-running and CPU-heavy work
(PDF/OCR ingest, embeddings, LLM calls, report gen, notifications,
cleanup) off the backend HTTP container onto a BullMQ-based
worker fleet. Reuses existing Redis/Postgres/MinIO/GlitchTip
substrate. Three phases: same-host workers, separate-host
distribution, eventual KEDA autoscaling. Precedent: Exp_dental
Celery worker pattern.
Repository Dshamir/AI-Legal
Author 007 <56462162+Dshamir@users.noreply.github.com>
Authored
Parents 714c7d73
Stats 1 file changed , +295
Part of Roadmap and future-architecture vision

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-6207adcd.md from inside the repo you want the change in.

⬇ Download capture-commit-6207adcd.md