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

Move to proxy content store #9

Open
3 tasks
hinshun opened this issue Jul 6, 2019 · 0 comments
Open
3 tasks

Move to proxy content store #9

hinshun opened this issue Jul 6, 2019 · 0 comments

Comments

@hinshun
Copy link
Owner

hinshun commented Jul 6, 2019

Currently, ipcs is implemented as a in-tree plugin for containerd, this comes with multiple problems:

  • Need to recompile containerd for ipcs
  • If the IPFS daemon is not listening when containerd starts then ipcs won't be initialized with a working client
  • If the IPFS daemon restarts you need to recreate the client, though we could write a fault-tolerant client wrapper
  • IPFS daemon includes a lot of subsystems not necessary to operate ipcs, increasing resource consumption
  • We want to fine-tune and optimize distribution specific to container distribution, IPFS adds layers and complexity compared to just libp2p + bitswap

We should manage our lifecycle outside of containerd with a proxy content store.

  • Implement a proxy content store
  • Embed libp2p + bitswap instead of sidecar IPFS daemon
  • Possibly wrap IPFS content store with boltdb metadata store like containerd
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

1 participant