Skip to main content

Module combinators

Module combinators 

Source
Expand description

Combinators that compose multiple ChunkStore implementations.

Modulesยง

cache ๐Ÿ”’
priority ๐Ÿ”’
race ๐Ÿ”’

Structsยง

Cache
Asks near first, if not found, asks far. If found in there, returns it, and inserts it into near. There is no negative cache.
CacheConfig
Configuration for a Cache ChunkStore.
Priority
Tries requests on multiple stores sequentially, returning the first positive or erroneous answer.
PriorityConfig
Configuration for a Priority ChunkStore.
Race
Fans out requests to multiple stores in parallel, returning the first positive or erroneous answer.
RaceConfig
Configuration for a Race ChunkStore.