Giter Club home page Giter Club logo

sealfs's Introduction

SEALFS

English | 简体 中文

The storage system of sealos, aiming to be a high-performance, highly reliable and auto-scalable distributed file system which fits the cloud native environment.

System Architecture

The architecture of sealfs is decentralized, and there is no single metadata node. sealfs hopes to improve the read and write performance as much as possible and solve the problems of storing large amounts of small files.

Main Components

Sealfs consists of the following three components:

Server

Server component is responsible for storing files and metadata. sealfs separates data and metadata into different disks, since metadata is undoubtedly the hot file on distributed file-system. This way, users can choose better hardware to store metadata.

Client

Client component implements the file-system in user mode. It intercepts file requests, stores, and addresses them through hash algorithms.

Manager

Manager component is responsible for coordinating the cluster.

The System Architecture can be shown as follow:

User Mode All The Way

With specific hardware, sealos hopes to support user-mode completely, from file request hijacking on the client side, to the network, and to the storage, for maximum performance improvement.

More designs can be referred to:

Design Document

design document

RoadMap

Currently, we are committed to improving the performance thoroughly. For other design aspects, such as high reliability and high availability, the priority would be lower.

  • first version Function:
    • Client:

      • fuse file system interface
      • System call hijacking(file system of user mode)
      • location algorithm
      • batch process
    • Sever:

      • bypass file system
      • file Storage
      • disk manager
      • catalogue manager
      • Metadata persistent memory storage
      • file index
      • file lock
      • Persistent data structure
    • Manger:

      • heart manager
    • Network:

      • RDMA
      • socket network
    • Test

      • IO500
      • function test

Compile

rust version 1.68

make build

Quick Start

Start Manager

# edit manager.yaml
vi examples/manager.yaml

# start manager with manager.yaml
SEALFS_CONFIG_PATH=./examples ./target/debug/manager &

Start Servers on a Node

./target/debug/server --manager-address <manager_ip>:<manager_port> --server-address <server_ip>:<server_port> --database-path <local_database_dir> --storage-path <local_storage_dir> --log-level warn &

Start Client on a Node

./target/debug/client --log-level warn daemon

Create & Mount Disk

./target/debug/client --log-level warn create test1 100000
./target/debug/client --log-level warn mount ~/fs test1

LICENSE

Apache License 2.0

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.