Coder Social home page Coder Social logo

distributedfilestoragesystem's Introduction

Project Fluffy

Description

Project Fluffy is a distributed system that acts a data-storage platform where network of server nodes are connected with switches and LAN cables.
Various distributed systems concepts are used to make Project Fluffy fault tolerant and highly scalable. The whole system is built on the gRPC framework which uses protobuf message format. DHCP server is being used to assign ips for the nodes in the network. So, the server node settings has to be changed to get ip from a DHCP server. Redis is being used as in-memory database to store Master metadata and cache in Slave nodes. MongoDB is being used as backup database for each server node. You can process the files of any type in the fluffy. Every file is converted to chunks of byte stream and stored in the Slave node memory(Database-Redis and MongoDB).

Cluster Architecture

cluster architecture

Software requirements:

  1. Java 1.8
  2. Apache Ant - Ant installation steps
  3. Protobuf compiler - Protobuf installation
  4. gRPC - Build GRPC codegen java_plugin from here
  5. DHCP server - DHCP installation
    • Requirements: Docker
  6. python3
  7. Redis
  8. MongoDB

Steps to run the cluster:

  1. To run the master, use cleanUp.sh which does the following steps for you - Instructions to run the Master
  2. To run the slaves - Instructions to run the Slaves
  3. Connect the nodes to the switch or network.
  4. If you wish to run java client generate gRPC java classes using java codegen plugin and the run runClient.sh script.
  5. Else if python client, generate gRPC python classes using python gRPC tools and then run runPythonCllient.sh script.

Fluffy Functionalities:

  1. Client has to join the system using his username.
  2. Fluffy gives you different options to start.
  3. You can upload a file, download a file, update a file, search a file, list all files and delete a file.
  4. When you download a file, output file is generated as output-yourOriginalFileName in the project folder.

Documentation

Contributors

  1. Nrupa Chitley
  2. Prabha Veerubhotla
  3. Prathamesh Patki
  4. Vinod Katta

distributedfilestoragesystem's People

Stargazers

 avatar

Watchers

 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.