开源BFS - 百度文件系统
<h2><a href="/misc/goto?guid=4959734385483796464" rel="nofollow,noindex">The Baidu File System</a></h2> <p>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 maintaining high throughput rates. Together with <a href="/misc/goto?guid=4959734385580761786" rel="nofollow,noindex">Galaxy</a> and <a href="/misc/goto?guid=4959734385669846014" rel="nofollow,noindex">Tera</a> , BFS supports many real-time products in Baidu, including Baidu webpage database, Baidu incremental indexing system, Baidu user behavior analysis system, etc.</p> <h2>Features</h2> <ol> <li>Continuous availability <ul> <li>Nameserver is implemented as a raft group , no single point failure.</li> </ul> </li> <li>High throughput <ul> <li>High performance data engine to maximize IO utils.</li> </ul> </li> <li>Low latency <ul> <li>Global load balance and slow node detection.</li> </ul> </li> <li>Linear scalability <ul> <li>Support multi data center deployment and up to 10,000 data nodes.</li> </ul> </li> </ol> <h2>Architecture</h2> <p style="text-align: center;"><img src="https://simg.open-open.com/show/4f0d3f7b258e76188847222a37ba8dee.png"></p> <h2>Quick Start</h2> <p>Build</p> <pre> ./build.sh</pre> <p>Standalone BFS</p> <pre> cd sandbox ./deploy.sh ./start_bfs.sh</pre> <h2>How to Contribute</h2> <ol> <li>Please read the <a href="/misc/goto?guid=4959734385757498709" rel="nofollow,noindex">RoadMap</a> or source code.</li> <li>Find something you are interested in and start working on it.</li> <li>Test your code by simply running make test and make check .</li> <li>Make a pull request.</li> <li>Once your code has passed the code-review and merged, it will be run on thousands of servers :)</li> </ol> <h2>Contact us</h2> <p><a href="/misc/goto?guid=4958997314093718784" rel="nofollow,noindex">opensearch@baidu.com</a></p> <h2><a href="/misc/goto?guid=4959734385483796464" rel="nofollow,noindex">百度文件系统</a></h2> <p>百度的核心业务和数据库系统都依赖分布式文件系统作为底层存储,文件系统的可用性和性能对上层搜索业务的稳定性与效果有着至关重要的影响。现有的分布式文件系统(如HDFS等)是为离线批处理设计的,无法在保证高吞吐的情况下做到低延迟和持续可用,所以我们从搜索的业务特点出发,设计了百度文件系统。</p> <h2>核心特点</h2> <ol> <li>持续可用 <ul> <li>数据多机房、多地域冗余,元数据通过Raft维护一致性,单个机房宕机,不影响整体可用性。</li> </ul> </li> <li>高吞吐 <ul> <li>通过高性能的单机引擎,最大化存储介质IO吞吐;</li> </ul> </li> <li>低延时 <ul> <li>全局负载均衡、慢节点自动规避</li> </ul> </li> <li>水平扩展 <ul> <li>设计支持两地三机房,1万+台机器管理。</li> </ul> </li> </ol> <h2>架构</h2> <p style="text-align: center;"><img src="https://simg.open-open.com/show/8babf42e90e60356b30a10307967a464.png" alt="开源BFS - 百度文件系统" width="422" height="301"></p> <h2>快速试用</h2> <p>构建</p> <pre> ./build.sh</pre> <p>单机版BFS</p> <pre> cd sandbox ./deploy.sh ./start_bfs.sh</pre> <h2>如何参与开发</h2> <ol> <li>阅读 RoadMap 文件或者源代码,了解我们当前的开发方向</li> <li>找到自己感兴趣开发的的功能或模块</li> <li>进行开发,开发完成后自测功能是否正确,并运行make test及make check检查是否可以通过已有的测试case</li> <li>发起pull request</li> <li>在code-review通过后,你的代码便有机会运行在百度的数万台服务器上~</li> </ol> <h2> </h2> <p> </p> <p> </p>
本文由用户 dkcn6629 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!