Background jobs: when a Postgres queue is enough and when to reach for Redis
Database-backed and Redis-backed job queues compared: durability, throughput, transactional enqueueing, retries and idempotency, and how to choose.
Concept Project · Automation platform
A concept automation platform where business processes are drawn as graphs and executed as durable, observable workflows.
Concept Project. This is not a client engagement. The interface is a designed concept using sample data, and no users, revenue or production results are implied.
The problem
Operations teams stitch tools together with scripts, email rules and manual steps. When something fails, nobody knows which step broke, whether it already ran, or whether re-running will duplicate an action.
No-code automation tools help, but they are often opaque in failure and hard to extend with custom logic.
Proposed solution
The concept models each automation as a directed graph of typed nodes: triggers, actions, conditions and approvals. A durable execution engine records every step's state, so a run can be paused, retried or resumed after a failure without repeating completed side effects.
The editor and run view share one canvas: you design the graph, then watch the same nodes light up as a run executes, with a log stream beside it.
Product features
Nodes and connections define triggers, actions and branching conditions.
Node status (waiting, running, succeeded, failed) updates in real time.
Per-node retry policies with exponential back-off for transient failures.
Idempotency keys prevent duplicate side effects when a step is retried.
Each node emits searchable logs tied to the run and step.
Steps can wait for a human decision before continuing.
Interface
Concept interface compositions that show key states of the product.
Engineering architecture
The request path runs top to bottom. Supporting services handle asynchronous work, state and external providers.
Technical challenges
Queues deliver at least once. Idempotency keys and a transactional outbox make repeated delivery safe for actions with external effects.
Approvals and timers can last days. Persisting step state in the database, not in worker memory, allows workers to restart freely.
A run is only useful if you can see inputs, outputs and errors for each node. Structured, run-scoped logs and a replay view are core features.
Technology decisions
Outcome
No performance claims. Here is what the prototype demonstrates and how a production version would differ.
We can scope a version of workflow automation platform around your data, users and constraints, and tell you honestly what it would take.