Skip to content

feat: postgres backends for the exchange interfaces (make Redis optional) - #564

Draft
wseaton wants to merge 5 commits into
llm-d:mainfrom
wseaton:postgres-only-exchange
Draft

feat: postgres backends for the exchange interfaces (make Redis optional)#564
wseaton wants to merge 5 commits into
llm-d:mainfrom
wseaton:postgres-only-exchange

Conversation

@wseaton

@wseaton wseaton commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Tracking issue: #563

not ready to review, but here are some benchmark numbers from my local laptop:

benchmark latency/op ~ops/s
PQEnqueue (sequential) 237µs 4,200
PQEnqueue (parallel) 151µs 6,600
PQEnqueue + PQDequeue round trip 618µs 1,600
blocking dequeue wake via LISTEN/NOTIFY ~1.6ms
StatusSet (single job, sequential) 136µs 7,300
StatusSet (parallel, per-job rows) 39µs 25,500
InFlight heartbeat upsert 193µs 5,200
event produce → consumer delivery 786µs 1,270

(Apple M4 Pro, Postgres 16 in Docker; make test-integration-postgres + go test -tags=integration -bench BenchmarkPostgresExchange)

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

Unsigned commits detected! Please sign your commits.

For instructions on how to set up GPG/SSH signing and verify your commits, please see GitHub Documentation.

wseaton added 2 commits July 8, 2026 10:55
Signed-off-by: Will Eaton <weaton@redhat.com>
@wseaton
wseaton force-pushed the postgres-only-exchange branch from 4a42031 to ab6db67 Compare July 8, 2026 14:55
@wseaton wseaton changed the title Postgres backends for the exchange interfaces (make Redis optional) feat: postgres backends for the exchange interfaces (make Redis optional) Jul 8, 2026
@github-actions

Copy link
Copy Markdown

This PR is marked as stale after 21d of inactivity. After an additional 14d of inactivity (7d to become rotten, then 7d more), it will be closed. To prevent this PR from being closed, add a comment or remove the lifecycle/stale label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant