PostgreSQL holds inventory, profiles, job definitions, run history, waivers, and audit events so operators can rebuild context after any restart.
Data and messaging
State & QueueData and messaging keep SecAudit durable — PostgreSQL for platform state, Redis Sentinel for queues, locks, and schedule coordination.
PostgreSQL stores platform state. Redis Sentinel provides highly available queues, distributed locks, and scheduling
Where it sits in the stack
- 01 Access layer
- 02 Control plane
- 03Data and messaging Focus
- 04 Execution layer
- 05 Managed targets
How requests move
- 01
Control plane writes durable state
- 02
Tasks enter Redis-backed queues
- 03
Locks serialize contested work
- 04
Workers claim jobs and stream progress
What this layer does
-
PostgreSQL as the source of truth for platform state
-
Redis Sentinel for highly available task queues
-
Distributed locks that help reduce duplicate execution
-
Schedule coordination for recurring jobs and reports
Redis Sentinel backs Celery queues and distributed locks, which helps reduce duplicate work when multiple workers compete for the same task.
Beat-driven schedules land here too: recurring compliance jobs and report delivery stay coordinated even when individual workers recycle.