Skip to content

ADR 005: Probe and fetch require separate QUIC connections (two handshakes per node) #75

Closed

Description

@thiras

Category: Technical

Severity: MEDIUM

File: adr/005-protocol.md (~lines 174, 183)

Different ALPNs (cdn/probe/v1 vs cdn/client/v1) require separate QUIC connections. When a client probes a node then fetches content, it incurs two TLS handshakes.

This contradicts the efficiency claim of "QUIC stream multiplexing allows concurrent blob requests without additional connection overhead" — that benefit only applies within a single ALPN.

Impact:

  • Extra RTT per node interaction (probe → fetch pattern)
  • Higher connection overhead at scale (hundreds of nodes probed)

Recommendation:
Document this tradeoff explicitly. Consider whether probe and fetch could share a single ALPN (with message-type discrimination) in a future protocol version, or whether the isolation benefits outweigh the cost.

ADRs affected

  • ADR 005 (Wire Protocol)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions