Last active
September 26, 2018 17:55
-
-
Save lancew/c13be2ce9c9c3819b3adeae18faa940a to your computer and use it in GitHub Desktop.
Perkeep config experiementation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
After: | |
"/bs/": { | |
"handler": "storage-proxycache", | |
"handlerArgs": { | |
"origin": "/sto-s3/", | |
"cache": "/cache/" | |
} | |
}, | |
Before: | |
"/bs/": { | |
"handler": "storage-blobpacked", | |
"handlerArgs": { | |
"largeBlobs": "/bs-packed/", | |
"metaIndex": { | |
"file": "/home/lancew/var/perkeep/blobs/packed/packindex.leveldb", | |
"type": "leveldb" | |
}, | |
"smallBlobs": "/bs-loose/" | |
} | |
}, | |
"/cache/": { | |
"handler": "storage-filesystem", | |
"handlerArgs": { | |
"path": "/home/lancew/var/perkeep/blobs/cache" | |
} | |
}, | |
From proxycache docs: | |
"/cache/": { | |
"handler": "storage-proxycache", | |
"handlerArgs": { | |
"origin": "/cloud-blobs/", | |
"cache": "/local-ssd/", | |
"maxCacheBytes": 536870912 | |
} | |
}, | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment