Files
Zumri-Backend/Documentation/QUEUE_OPERATIONS.md
Sathira Sri Sathara 5158c52db5
CI / test (push) Successful in 10m56s
CI / test (pull_request) Successful in 11m1s
feat: Add Phase 11 analytics and production readiness features
- Introduced new endpoints for account overview, analytics, and metrics.
- Implemented authorization matrix and backup/restore documentation.
- Added smoke test script and updated package dependencies.
- Created detailed production checklist and runbook for deployment.
- Established cron operations and notification event matrix documentation.
- Enhanced security and validation audits for analytics and metrics services.
- Added unit tests for analytics and metrics functionalities.
2026-09-16 10:59:19 +05:30

11 lines
785 B
Markdown

# Queue Operations
| Queue | Producer | Consumer | Idempotency/failure |
|---|---|---|---|
| activity | audit service | activity worker | event-based job ID; database activity record |
| email | email service | email worker | event job ID; retry/backoff; delivery status |
| document | document service | document worker | persisted document state; bounded concurrency |
| log | structured log utility | log worker | redacted payload; retained operationally |
Workers run independently with `node app/workers/index.js`; the API does not consume jobs. Validate Redis authentication, queue prefixes, retries, retention, dead/final failures, and Bull Board access in staging. Alert on failed jobs and sustained backlog. Redis/BullMQ were **IMPLEMENTED_UNVERIFIED** in this environment.