Giter Club home page Giter Club logo

sealfs's Introduction

SEALFS

English|简体中文

The storage system of sealos,aim to be a high-performance,high reliability and auto-scaling distributed file system which suit to cloud native.

System Architecture

The architecture of sealfs is non centralized, and there is no single metadata node. We hope to improve the read and write performance as much as possible and solve the problem of storing large amounts of small files.

Sealfs consists of three components -Server:Responsible for storing files and metadata。Metadata is undoubtedly the hot file of the distributed file system, so we store data and metadata in the way of separate disks. Users can choose better hardware to store metadata. -client:It implements the file system in user mode, intercepts file requests, and stores and addresses them through the hash algorithm. -manager:Responsible for Coordinate cluster.

The System Architecture picture as follows:

User Mode in Overall Chain

We hope to create an overall chain user mode distributed file storage system from client file request hijacking to network to storage with specific hardware, so as to obtain the ultimate performance experience.

More designs can be referred to:

Design Document

design document

RoadMap

At present, we are committed to improving the performance of the whole link. For other aspects of construction, such as high reliability and high availability, the priority will 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

cargo build

Quick Start

Mount

mkdir ~/fs
./target/debug/server &
./target/debug/client ~/fs

File Operations

show directory

ll ~/fs

create & write file

echo "test" >> ~/fs/test.log

read file

cat ~/fs/test.log

delete file

rm ~/fs/test.log

make directory

mkdir ~/fs/d

remove directory

rm ~/fs/d

LICENSE

Apache License 2.0

sealfs's People

Contributors

luanshaotong avatar tricky511 avatar hhoflittlefish777 avatar uran0sh avatar mond77 avatar zzjin 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.