Skip to content

client: the peer-store fast path and a pinned --node-id harvest no probe rate, so their pulls skip the probe-relative ceiling #2861

Closed

Description

@yigitdot

Follow-up to #2840 / #2859. Since #2859 every lane built from a probed candidate is capped at effective_rate_ceiling(probe rate, --max-rate-per-mb). Two paths harvest no probe rate and so stay bounded by the config value alone (unbounded at the default 0):

  • the peer-store fast path (store_fast_path returns probed_samples: Vec::new()) — the usual path for repeated decdn get and the gateway within the 10-minute freshness window;
  • a pinned --node-id (probe_pinned verifies the probe answer but drops its sample; pinned_targets carries none).

Both are documented in the --max-rate-per-mb help and in lane_rate_ceiling's doc. Possible fixes: have probe_pinned keep its verified sample, and/or fold the peer store's last recorded rate in as the probe-relative bound on the fast path (it is already signed-probe-sourced via record_sample). Needs a decision on whether a stored rate is fresh enough to refuse a stream on.

🤖 Generated with Claude Code

Activity

  1. yigitdot commented on Nov 13, 2026

    @yigitdot
    ContributorAuthor

    Cross-reference: #2901 proposes deleting cdn/probe/v1 and moving the signed quote into the stream-open response. That removes probe sampling as this issue describes it — the peer-store fast path and probe_pinned mechanics would be rewritten, and the probe-relative ceiling would derive from stream-open quotes instead. Worth holding off until #2901 is decided, then re-scoping this to whatever rate bound the stream-open design keeps.

  2. moved this from Backlog to In progress in deCDNon Nov 18, 2026
  3. moved this from In progress to Done in deCDNon Nov 19, 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

    No type

    Fields

    Priority

    None yet

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions