Code Monkey home page Code Monkey logo

FleetFS

Build Status Crates dependency status

FleetFS distributed filesystem

Development

Status

Very very alpha. Expect FleetFS to eat your data :)

Design decisions

  • Clients only need to talk to a single node
    • Context: There is significant overhead in opening TCP connections, so we want the client to keep its connections open. Therefore, the client shouldn't make on-demand connections to every storage node in the cluster.
    • Cons: doubles network traffic inside FleetFS cluster, as nodes have to proxy traffic reading/writing to other nodes
    • Pros: better scalability, as client connection is handled by a single node. Also simplifies client code
  • Clients are trusted to make permission checks
    • Context: FleetFS has no access to a central user store, so has to trust the user ids sent by the client
    • Cons: security relies on the client
    • Pros: client doesn't have to send exhaustive list of groups that user is part of to make permission checks
  • Sharding design:
    • "Raft group" (or rgroup): a subset of storage nodes participating in a raft consensus group. The cluster consists of multiple Raft groups, and a single node may be part of multiple groups.
    • An inode is stored on a single Raft group, and inodes are sharded among groups, by id.
    • (TODO) "Redundant block" (or rblock) is a block of data stored in a single Raft group. A file's contents is composed of multiple rblocks, on one or more Raft groups.

License

Licensed under

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be licensed as above, without any additional terms or conditions.

fleetfs's Projects

fuse-xfstests icon fuse-xfstests

xfstests adapted for gocryptfs, from https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git

raft-rs icon raft-rs

Raft distributed consensus algorithm implemented in Rust.

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.