You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ADR 001: Specify Bloom filter parameters for large cache announcements #25
ADR 001: CacheAnnounce messages list blob hashes (capped at 500 entries) or a Bloom filter for large sets. But no parameters are specified for the Bloom filter:
Expected items: How many blobs does a typical large cache hold? 1,000? 100,000?
False positive rate: What rate is acceptable? 1%? 0.1%?
Resulting size: A Bloom filter for 10,000 items at 1% FP ≈ 12 KB. For 100,000 items ≈ 120 KB.
iroh-gossip message limit: Typically 64 KB. A 120 KB Bloom filter won't fit.
Also: with 500 hashes × 32 bytes = 16 KB per announcement, the hash list approach already uses significant space. What happens when a node has exactly 501 blobs — does it switch to Bloom filter mid-stream?
Recommendation
Specify Bloom filter parameters: expected max items, target FP rate, max serialized size
Define the switchover threshold from hash list to Bloom filter
Verify the resulting Bloom filter fits within iroh-gossip message size limits
Activity
docs: add design spec for separated node/content discovery
docs(adr-001): replace CacheAnnounce with NodeAnnounce and probe fan-out
docs: add design spec for separated node/content discovery
docs(adr-001): replace CacheAnnounce with NodeAnnounce and probe fan-out
docs: add design spec for separated node/content discovery
docs(adr-001): replace CacheAnnounce with NodeAnnounce and probe fan-out
docs: fix network and reputation issues (#71, #70, #25, #6, #77, #63, #…
docs: revert Bloom filter parameter changes (#25)