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
CAR mirror can benefit greatly from a number of caches:
A Cid -> bool cache that quickly returns whether a CID is already stored
A Cid -> Vec<Cid> cache that returns what further CIDs given block links to
More advanced caches are also possible, e.g. which map (UsizePowerOfTwo, Cid) -> BloomFilter, i.e. a whole subdag to a bloom filter with given size. This would make computing blooms faster. Similarily a Cid -> bool that tells us whether a whole subdag is present, (not only a single block).
The text was updated successfully, but these errors were encountered:
Major things in this PR:
- Correctly handle raw-codec CIDs/blocks, they were previously not transferred due to a bug in `IncrementalDagVerification`.
- Update wnfs-common to 0.1.26 so this crate is compatible with the latest rs-wnfs.
- Introduce another cache, a positive cache for checking if we already have a block. (Work on #28)
- Make sure the main request/response futures are `Send`
CAR mirror can benefit greatly from a number of caches:
Cid -> bool
cache that quickly returns whether a CID is already storedCid -> Vec<Cid>
cache that returns what further CIDs given block links toMore advanced caches are also possible, e.g. which map
(UsizePowerOfTwo, Cid) -> BloomFilter
, i.e. a whole subdag to a bloom filter with given size. This would make computing blooms faster. Similarily aCid -> bool
that tells us whether a whole subdag is present, (not only a single block).The text was updated successfully, but these errors were encountered: