blocks.store.replica

Replica stores provide logical block storage which writes to multiple backing stores. Lookups will try the backing stores in order to find blocks.

Replicas are useful for ensuring durability across stores and for shared caches, where some external process controls cache eviction.

replica-block-store

(replica-block-store replicas & {:as opts})

Creates a new replica block store which will persist blocks to multiple backing stores. Block operations will be performed on the stores in the order given in replicas, where each key is looked up in the store record.