Giter Club home page Giter Club logo

tripled's Introduction

Introduction:

        This is a very simple distributed file system borrowing many ideas from
        GFS.  The idea is to focus on simplicity and performance.  Not
        availability or fault tolerance (at all).

        Triple D:
                1) Dead simple...
                2) Done right...
                3) Distributed file system

Why:

        Tired of bullshit configurations and degraded performance?
        Want good performance?
        How about usable and understandable code?

Requirements:

        zeromq-2.1.7
        redis-2.2.7

Usage:
        master.py       -- run on metadata master node
        worker.py       -- run on worker nodes

        cptoddd.py      -- use to copy files into TripleD
        cpfromddd.py    -- use to copy files out of TripleD
        lsddd.py        -- use to list files in TripleD

Design:

        1) Master handles all metadata
        2) Workers are dumb trusting writes from clients
        3) Clients do RPC with master and workers directly
        4) Metadata comes from master, flows via client to workers
        5) Assume write once, read many in future; no append; no seek
        6) Client allowed to arbitrarily chunk (client knows best!)
        7) No replication right now; client would get list from master
        8) No multi-reading or multi-writing...
        9) All workers store chunks in the same path on their system
        10) Dumb round-robin assignment of chunks; worst case first node gets
            more data; last node gets least data
        11) Variable-sized chunks allowed
        12) No delete or rewrite


TODO:
       1) master should only write into Redis on receipt of write info from a
          worker
       2) concurrent writing to multiple nodes, reading from multi nodes
          (readahead as well)---basically add threading with push/pull sockets 

tripled's People

Contributors

theonewolf avatar

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.