dig-peer-selector
v0.15.0 ExperimentalSelf-optimizing peer-selection middleware for the DIG Node — the pure decision + learning layer between dig-download and the discovery layers (dig-dht / dig-gossip / dig-nat). Maintains a dynamic peer registry, learns each peer's throughput/RTT/reliability + saturation point + a relayed penalty from the REAL measured outcome of every transfer (measured-only, non-gameable), and ranks a candidate subset per content request to minimize P99 latency without thundering-herd. No user-facing knobs; re-uses the transport-verified peer_id = SHA-256(TLS SPKI DER).
Quick Verdict
- ✓Actively maintained (updated 9d ago)
- !Pre-1.0: API may have breaking changes
- ✓Permissive license (Apache-2.0 OR MIT)
Security
Deep Insights
915 downloads in the last 30 days, down 83% from the previous period. May indicate migration to alternatives.
The primary maintainer publishes 87 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata