Skip to content

Implement lean positive probe cache (15s TTL, no evidence retention) #1165

Closed

Description

@alpergundogdu

Disposition: IMPLEMENT (per trimmed ADR 001).

Only the negative probe cache exists (crates/node/src/dht/negative_cache.rs); every repeated miss for a popular hash re-runs a full DHT FIND_VALUE + probe fanout (crates/node/src/node_origin.rs:606).

Action: add a short-lived LRU hash → Vec<(NodeId, rate_per_mb, rtt)> (15s TTL, max 1024, ≤10 entries/hash) checked before DHT lookup. No signed-ProbeResponse retention (see ADR-001 edit issue).


Filed from the ADR→implementation gap analysis. ADR edits must be made in place with no historical/tombstone text (no "planned but cut" sentences) per repo ADR convention.

Activity

  1. added
    prio:high
    rust
    on Jul 15, 2026
  2. self-assigned this
    on Jul 16, 2026
  3. added a commit that references this issue on Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

prio:highrust

Type

No type

Fields

Priority

None yet

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions