Giter Site home page Giter Site logo

divinerapier / weaver Goto Github PK

View Code? Open in Web Editor NEW
20.0 5.0 4.0 1.16 MB

A distributed object file system inspired by the paper Beaver which was published by Facebook Inc. at 2010.

License: Apache License 2.0

Rust 99.02% Makefile 0.98%
haystack filesystem rust grpc

weaver's Introduction

Weaver

Weaver 是一个基于 Facebook Inc.2010 发表的论文 开发的一个分布式对象文件系统。

组件

WeaverGateway

作为所有请求的入口。

WeaverDirectory

  1. 维护逻辑卷到物理卷的映射关系;
  2. 负责对读写数据进行负载均衡;
  3. 维护逻辑卷的空闲空间;
  4. 维护图片对应的逻辑卷;

WeaverCache

Cache 服务是一个分布式缓存,可以使用数据的 ID 对内容进行索引。当缓存命中失败时,负责从后端 Store 服务获取数据。

WeaverStore

每一个 Store 服务维护多个物理卷。每个物理卷存储了百万级别的数据。具体来说,一个物理卷可以被认为是一个超大的文件(比如100G),被保存在物理磁盘上的某个位置。可以通过图片所在物理卷及偏移量,大小等信息快速读取数据。

Architecture

architecture

weaver's People

Contributors

divinerapier avatar kuafou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

weaver's Issues

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.