Skip to content

hongtaiwang/SurfStore--Cloud-File-Store-Service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a distributed file storage system based on RPC

Use the following commands to run the blockstore, metadata store and the client (tap 'n' or 'h' to choose hash placement or nearest to client mode) -

  1. Blockstore -

    python blockstore.py <port-number>
  2. Metadata store -

    python metastore.py config.txt
  3. Client -

    // to download a file
    python3 client.py <mode> config.txt download myfile.jpg folder_name/
    
    // to upload a file
    python3 client.py <mode> config.txt upload myfile.jpg
    
    // to delete a file
    python3 client.py <mode> config.txt delete myfile.jpg

About

This is a distributed file storage system based on RPC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages