Skip to content

Instantly share code, notes, and snippets.

@lancew
Last active September 26, 2018 17:55
Show Gist options
  • Save lancew/c13be2ce9c9c3819b3adeae18faa940a to your computer and use it in GitHub Desktop.
Save lancew/c13be2ce9c9c3819b3adeae18faa940a to your computer and use it in GitHub Desktop.
Perkeep config experiementation
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