Giter Site home page Giter Site logo

cloudxtreme / distributedfilesystem-2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xueweiz/distributedfilesystem

0.0 0.0 0.0 311 KB

Simple fault-tolerant distributed file system. 1. Utilize virtual ring style key-value store with 3 backups. 2. Automated failure detection and re-backup. 3. The system is designed in a fully de-centralized way. Selected as Best Machine Problem for UIUC CS425 (Distributed Systems, fall 2015)

C++ 97.05% Makefile 0.30% Shell 2.65%

distributedfilesystem-2's Introduction

Small Distributed File System

SDFS is a hdfs-like file system. A few important characters:

  1. Immutable files.

  2. Transparent to user. As a user, you don't need to care about the details about server layout. Simple APIs are provided to do file upload and download:

    void FileSystem::put(std::string localFile, std::string remoteFile);

    void FileSystem::get(std::string localFile, std::string remoteFile);

  3. Fault tolerant. Each file in distributed file system has three replicas. So we can handle two simultanous failure on our server. After machine's failure, all replicas on it will be replicated on other machines.

  4. De-centralized. We use a Ring-based key-value store approach to store the data.

  5. Efficient. The failure detection module is based on SWIM protocol, which has O(1) workload when there is no failure.

For design details, please check out the report (pdf file).

Code Structure

Address.add, AddrIntro.add

Store the IP address or hostname of you machines. One should be put in AddrIntro.add, all the others in Address.add.

Chrono

Timing library.

FileSystem

Support for distributed file system manipulation.

Membership

Membership control module using SWIM-protocol. It detects machine joining/leaving/failure.

Connections

Helper methods for TCP and UDP connections, and robust data transfer.

Authors

Luis Remis (remis2 at illinois dot edu)

Xuewei Zhang (xzhan160 at illinois dot edu)

distributedfilesystem-2's People

Contributors

luisremis avatar xueweiz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.