5158c52db5
- 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.
785 B
785 B
Queue Operations
| Queue | Producer | Consumer | Idempotency/failure |
|---|---|---|---|
| activity | audit service | activity worker | event-based job ID; database activity record |
| 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.