Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/akshayxml/google-file-system

Implemented Google File System from its research paper.
https://github.com/akshayxml/google-file-system

chunking distributed-systems file-sharing filesystem google-file-system python3 replication

Last synced: about 2 months ago
JSON representation

Implemented Google File System from its research paper.

Awesome Lists containing this project

README

        

# Google-File-System
Python implementation of [Google File System](https://static.googleusercontent.com/media/research.google.com/en//archive/gfs-sosp2003.pdf).

## Compile
- Run `bash clean.sh`

## Dependency
- gRPC

## Run
- Open three terminals, and run `chunkServer.py`, `masterServer.py` and `client.py` in each of them.
- Type in the supported commands in the terminal which is running `client.py`.

### Commands
- `create ` : Creates a new file with given absolute file path ``
- `list ` : Lists all files whose absolute path have prefix ``
- `append ` : Appends `` to file ``
- `read [offset] [len]` : Reads `[len]` characters of file `` starting from `[offset]`. Default value of `offset` is 0 and that of `len` is -1(EOF).
- `delete ` : delete the file with given absolute file path ``