Skip to main content

Module lookup_cache

Module lookup_cache 

Source
Expand description

DHT lookup result caching and parallel alpha query execution.

This module provides:

  • LookupCache: TTL-based CID → providers cache for DHT lookups
  • ParallelLookupExecutor: Parallel DHT provider lookups with caching

Structs§

CachedProviders
A cached result for a CID provider lookup.
LookupCache
TTL-based CID → providers cache for DHT lookups.
LookupCacheConfig
Configuration for the LookupCache.
LookupCacheStats
Snapshot statistics for a LookupCache.
ParallelLookupConfig
Configuration for ParallelLookupExecutor.
ParallelLookupExecutor
Executes parallel DHT provider lookups with integrated caching.
ParallelLookupResult
Result of a parallel provider lookup.