Skip to content

Make Redis optional: Postgres-only mode #563

Description

@wseaton

Support running the batch gateway without Redis by implementing the exchange interfaces (priority queue, in-flight tracking, volatile status, event channels) on PostgreSQL, selected via a new exchange_client.type config (default redis, no behavior change).

PR: #564
Design doc: docs/design/postgres-only-mode.md (in the PR).

Notes:

  • llm-d-async has no Postgres backend, so postgres-only mode v1 is sync dispatch only (validated at startup).
  • Real-DB integration tests + local benchmarks included in the PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions