Coder Social home page Coder Social logo

watermars / bfs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from baidu/bfs

0.0 2.0 0.0 11.94 MB

The Baidu File System.

License: BSD 3-Clause "New" or "Revised" License

Makefile 1.26% Shell 3.38% C++ 88.79% Protocol Buffer 2.54% C 0.08% Python 3.96%

bfs's Introduction

Build Status Build Status

The Baidu File System (BFS) is a distributed file system designed to support real-time applications. Like many other distributed file systems, BFS is highly fault-tolerant. But different from others, BFS provides low read/write latency while maintains high throughout rates. Together with Galaxy and Tera, BFS supports many real-time products in Baidu, including Baidu webpage database, Baidu incremental indexing system, Baidu user behavior analysis system, etc.

百度的核心业务和数据库系统都依赖分布式文件系统作为底层存储,文件系统的可用性和性能对上层搜索业务的稳定性与效果有着至关重要的影响。现有的分布式文件系统(如HDFS等)是为离线批处理设计的,无法在保证高吞吐的情况下做到低延迟和持续可用,所以我们从搜索的业务特点出发,设计了百度文件系统。

Features

  1. Continuous availability
    数据多机房、多地域冗余,元数据通过Raft维护一致性,单个机房宕机,不影响整体可用性。
  2. High throughput
    通过高性能的单机引擎,最大化存储介质IO吞吐;
  3. Low latency
    全局负载均衡、慢节点自动规避
  4. Linear scalability
    设计支持两地三机房,1万+台机器管理。

Architecture

架构图

Quick Start

Build

./build.sh

Standalone BFS

cd sandbox; ./deploy.sh; ./start.sh

How to Contribute

  1. Please see the RoadMap file or source code.
    阅读RoadMap文件或者源代码,了解我们当前的开发方向
  2. Select features which you are interested in.
    找到自己感兴趣开发的的功能或模块
  3. Write the code and and check whether it can pass the test(make test && make check).
    进行开发,开发完成后自测功能是否正确,并运行make test及make check检查是否可以通过已有的测试case
  4. Create a pull request to us, after codereview, your code will be run in thousands of servers~
    发起pull request,在codereview通过后,你的代码便有机会运行在百度的数万台服务器上~

Contact us

[email protected]

bfs's People

Contributors

00k avatar bluebore avatar cyshi avatar imotai avatar koalademo avatar leoyy avatar lylei avatar myawan avatar yvxiang avatar yyq224444 avatar

Watchers

 avatar  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.