Postgres Workers — Durable Job Queue for Production Xferity Deployments
Postgres Workers
Section titled “Postgres Workers”Postgres workers are the execution model used when Xferity runs with Postgres-backed durable state and queued jobs.
This mode is used when teams need more than a single-process file-backed runtime.
What they are
Section titled “What they are”In Postgres-backed deployments, supported triggers can enqueue durable jobs instead of executing everything immediately in-process.
Workers then:
- claim queued work
- execute the relevant transfer or AS2 workflow
- update status and history
- apply retry behavior where allowed
- mark work completed or failed
Why teams use them
Section titled “Why teams use them”Teams move to Postgres workers when they need:
- durable job handling
- shared state across processes
- richer UI and API operating workflows
- AS2 persistence and certificate records
- a clearer queue-based operational model
How it works
Section titled “How it works”At a high level:
- configuration selects
state.backend=postgres - the runtime initializes the Postgres backend and migrations
- a trigger creates durable job records for supported work
- workers poll the queue and claim jobs
- execution results are persisted for later inspection
Example operational command
Section titled “Example operational command”xferity run-service payroll-upload --interval-seconds 300That command is still part of the operator surface, but in a Postgres-backed deployment the surrounding runtime can use durable job semantics instead of relying only on local in-process execution.
Operational considerations
Section titled “Operational considerations”Postgres workers add real operational dependencies:
- database connectivity
- migration success
- worker readiness
- queue monitoring
- backup and restore planning
- least-privilege database credentials
What they do not imply
Section titled “What they do not imply”Postgres workers do not automatically mean:
- clustering
- HA coordination
- automatic failover orchestration
- distributed control-plane semantics beyond shared durable state
They should be described as a richer shared-state execution model.