Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/codenoid/Fido

E2E Solution for Distributed Cold-Data Storage
https://github.com/codenoid/Fido

distributed-storage distributed-systems

Last synced: about 1 month ago
JSON representation

E2E Solution for Distributed Cold-Data Storage

Awesome Lists containing this project

README

        

# Fido [Active Development]
E2E Solution for your distributed file storage

## Real-World use case

1. you need to download a file, many files, a bunch of file from your scraper
2. one disk is not enough, you always need more
3. then you decide to use Fido with Systemd
4. Fido will automatically distribute your files into selected external disk
5. When your files getting bigger again, just add external disk again to your server

## Prerequisite

1. Make sure you have running mongodb server, if not, [install mongodb](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/)
2. Setup mongodb url in [here](https://github.com/codenoid/Fido/blob/master/src/main.rs#L49)

## Installation

```
git clone
cd Fido
cargo build --release
```

## Usage

```bash
# generate symbolic link for any data that already in brick/slave/disk
# --path are not used in --cmd 0
./target/release/Fido --cmd 0 --path / --bricks /mnt/disks/disk-1

# move temporary file to brick/slave/disk, then create ln from disk to temporary location
./target/release/Fido --cmd 1 --path /path/to/scrapped-data --bricks /mnt/disks/
```