Storage Options

@cosmycx

 Minio & IPFS

Minio

https://www.minio.io/

Minio - Example

Minio - Example

https://docs.minio.io/docs/golang-client-quickstart-guide

IPFS

 https://ipfs.io/ 

https://github.com/libp2p

IPFS

  • Distributed file system, P2P
  • Files are addressed based on hash, not name
  • Files are content addressed (unique hash) vs. location address (url), files are distributed to peers
  • IPFS files are chunked into blocks and saved on many node peers around the net
  • Mainly used for static (web) content

IPFS - Example

1. Download and Install IPFS
    https://docs.ipfs.io/introduction/install/

2. Initialize a key pair and creates the local repository

    $ ipfs init

3. Run the IPFS daemon locally

    $ ipfs daemon

4. Listing of peers
    
    $ ipfs swarm peers

5. Add a folder

    $ ipfs add -r ipfs/

https://ipfs.io/ipfs/QmR2P7ruo1f6U9By11LUf6UsQiaAviqcCJ7ygZVXmb1Thn

File gets replicated to the IPFS gateway and other peers on accessing it

?

Made with Slides.com