Repository navigation
Description
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
- Inspect the current proxy API.
- 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
- Parent: Add integration registration and concurrent request orchestration #144.
- Primary outbound/lifecycle tracking: Implement portable outbound HTTP and request lifecycle contracts #436.
- First-response orchestration: Handle the first winning outbound response #148.
- Current single-request outbound interface
- Implementation PR feat: implement portable outbound HTTP and request lifecycle contracts #275; keep this issue open until its complete scope is accepted and merged.
Activity
[-]As a developer I want to fan out requests to multiple providers in parallel[/-][+]Fan out outbound requests with per-call timeouts[/+]