-
-
Save mikeal/8150724 to your computer and use it in GitHub Desktop.
https://twitter.com/izs/status/416635696367951873 | |
let's talk here, we have commments with mor ethan 140 characters! |
@isaacs Along with what @konobi said — how feasible are static files which I can use as a local registry? I'd like to mimimize my operational overhead. On my end, something like nginx which serves all the files from a directory. For upstream, ppl can wget
on a regular basis which would make running mirrors a lot, lot easier as well
Also, I've never heard of Manta — what exactly is this? Joyent's version of S3? Also, is there anything to see yet and try?
Manta is http://www.joyent.com/products/manta. There's an SDK and docs. Because the files are in my public storage location, you can read them, link them to your space, run jobs over them, etc.
This much is already done. As of this moment, tarballs are being served through Fastly from Manta, not from CouchDB. They still are in CouchDB as attachments, but unless you're hitting the CouchDB endpoint directly (or if Manta doesn't have the file yet), you will be getting them from Manta.
It's probably not trivial to use static files as a local registry, at least, not one that you could write to. I haven't explored that.
@konobi
That's roughly what's sitting in Manta under
/isaacs/public/npm
. You can even mount this with NFS, I'm told, though I haven't tried myself, and a folder with >52,000 entries might be rough on some systems :)The format is: