Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ceph rados datastore #101

Open
bjzhang opened this issue Oct 16, 2018 · 4 comments
Open

Add ceph rados datastore #101

bjzhang opened this issue Oct 16, 2018 · 4 comments

Comments

@bjzhang
Copy link

bjzhang commented Oct 16, 2018

Currently ipfs support s3 and swift for clustering storage. We(ipfsbit) implement a ceph backend through rados(a reliable autonomic distributed object store).
The basic function works:
img_0152

It will be easy to make more optimization if implement such dedicated ceph backend. So, How do we contribute it to ipfs? We hope we could send the patches early to get more feedbacks. Thanks in advance.

@magik6k
Copy link
Member

magik6k commented Nov 1, 2018

Nice!

Sorry for the delay - the general flow of 'mainlining' a datastore would be:

  • Put it in a repo somewhere on github, preferably under MIT license (or something compatible with MIT). We can open a repo under ipfs/go-ds-rados (assuming this name makes sense) and give you push access. This is preferred because it gives us easy access in case of refactors.
  • Publish GX packages for it and it's dependencies (we can help with that as it tends to be painful or at least undocumented)
  • Open PR in go-ipfs like this one: [WIP] Swift Datastore kubo#5516

@bjzhang
Copy link
Author

bjzhang commented Nov 2, 2018

  • Put it in a repo somewhere on github, preferably under MIT license (or something compatible with MIT). We can open a repo under ipfs/go-ds-rados (assuming this name makes sense) and give you push access. This is preferred because it gives us easy access in case of refactors.

Cool, this name is what I used. Once you create this project, I could push the initial version to it.

  • Publish GX packages for it and it's dependencies (we can help with that as it tends to be painful or at least undocumented)

I touch gx when I work on go-unixfs, I will take a look other project and ask questions when I stuck.

Got it. I will do it after finish the gx relative work.

@bjzhang
Copy link
Author

bjzhang commented Nov 7, 2018

Hi, we already test go-ds-rados with go-ipfs. Could you please create a repo such ipfs/go-ds-rados? As you said, it is easy to discuss about go-ds-rados specific issues. Hope we could do more to improve the datastore as well as go-ipfs/libp2p. Thanks.

@benaryorg
Copy link

If you're like me and you know you've seen the go-ds-rados repo before but can't find it, here's the link.

(sorry for the issue necro-ing, I just spent 10 minutes finding that repo)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants