Skip to content

Fan out outbound requests with per-call timeouts #147

Description

@aram356

Description

Send requests to multiple upstream providers concurrently, enforce individual call budgets and collect each result for auction/aggregation-style orchestration.

Main exposes only single-call ProxyClient::send / ProxyHandle::forward. Open PR #275 proposes completion-driven batches, per-slot timing/failures, ordered collection and cutoff/cancellation semantics, but is not merged and retains qualification gaps.

Steps to reproduce

  1. Inspect the current proxy API.
  2. Compare the batch API and remaining qualification stated in feat: implement portable outbound HTTP and request lifecycle contracts #275 with this story's concurrent per-call timeout/result requirements.

Expected behavior

Independent provider calls can progress concurrently and yield attributable success/failure/timeout results without serial waiting.

Impact

Applications currently assemble concurrency/timeout control themselves and cannot rely on a common runtime contract.

Proposed fix

Adopt the batch mechanism in #275 after its acceptance gates, then document a portable fan-out example and per-call versus batch-cutoff semantics.

Done when

  • Multiple upstream calls are dispatched/progressed concurrently.
  • Each result retains provider/index identity and its own timeout/error provenance.
  • Collection preserves completed and timed-out/unfinished states under documented ordering/cutoff rules.
  • Native/runtime verification covers concurrency, individual budgets and resource cleanup.

Related

Activity

  1. changed the title [-]As a developer I want to fan out requests to multiple providers in parallel[/-] [+]Fan out outbound requests with per-call timeouts[/+] on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions