Currently supports Peer and Mirror, I originally planned an Archive mode as well, the modes should work as follows
- Peer
- cache recent locally used documents (locally read / written)
- delete from cache after n days
- Mirror
- cache all recent documents
- delete from cache after n days
- Archive
- Retain all documents in shard based on shard filter
- shard filter defaults to all shards, but can adjusted to several or even a single shard as storage requirements increase
- Acts as a mirror for documents outside shard filter
Currently supports Peer and Mirror, I originally planned an Archive mode as well, the modes should work as follows