Skip to content

ADR 024: Client parallelism — multi-node parallel blob download #206

Closed

Description

@alpergundogdu

Context

Currently ADR 012 defines a single-node streaming model: a client connects to one node via cdn/client/v1 and downloads a blob sequentially. For large bulk downloads (AI models, large datasets), BitTorrent-style parallel fetching from multiple nodes simultaneously could significantly improve throughput.

However, each node requires its own payment channel (~$0.23 per channel lifecycle: open + close + settle). This overhead makes parallelism uneconomical for small blobs.

Refs: ADR 003 (payment channels, channel cost), ADR 005 (StreamRequest, byte_offset, concurrent streams), ADR 012 (client architecture), ADR 022 (content discovery)

Gap

No design exists for:

  • How to split a blob into byte ranges across multiple nodes
  • Payment channel strategy (one channel per node, or shared?)
  • CLI interface (decdn pull <hash> --max-channels N)
  • Threshold policy: when is parallelism worth the channel overhead?
  • Ordering constraint: parallelism is incompatible with sequential streaming use cases (e.g., video)
  • Node selection: how to pick N best nodes for parallel download

Why it needs an ADR

Blocks efficient bulk-download use cases (AI model distribution, large dataset delivery). Without a canonical design, implementations will diverge on channel strategy and range assignment.

Expected outcome

ADR 024 defining the parallel download protocol, payment channel strategy, CLI flag design, and the economic threshold below which parallelism is disabled by default.

Activity

  1. added
    kind:docs
    design:missing-decision
    design:adr
    on Apr 10, 2026
  2. added 2 commits that reference this issue on Apr 10, 2026
    caceb58
    acadcf1
  3. added a commit that references this issue on Apr 11, 2026
    a7793fe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

design:adrdesign:missing-decisionkind:docs

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions