content/zh/_index.html (62 lines of code) (raw):

+++ title = "bRPC" linkTitle = "bRPC" +++ {{< blocks/cover image_anchor="top" height="max" color="primary" >}} <img src="/images/brpc_logo_ww.svg" class="brpc-logo" style="max-width:95%"/> <h3 style="margin:20px" >用于构建可靠和高性能服务的工业级RPC框架</h3> <div class="mx-auto"> <a class="btn btn-lg btn-primary font-weight-bold my-4" href="{{< relref "/docs" >}}"> 了解更多 </a> <a class="btn btn-lg btn-primary font-weight-bold my-4" href="{{< relref "/docs/downloadbrpc" >}}"> 下载 bRPC </a> </div> <div class="mx-auto"> <a class="h3 mt-1"> 让我们开始吧! </a> <!-- <div class="h3 mt-1">Get started!</div> <a class="btn btn-lg btn-primary mr-3 mb-4 my-3" href="{{< relref "/docs" >}}"> Get bRPC </a> <a class="btn btn-lg btn-primary mr-3 mb-4 my-3" href="https://github.com/apache/brpc"> <i class="fas fa-ellipsis-h"></i> </a> --> </div> {{< /blocks/cover >}} <div id="overview"> <div class="contain" style="width: auto; margin: 0 auto"> <h1 class="section-head">为什么选择 bRPC?</h1> <p> bRPC是用c++语言编写的工业级RPC框架,常用于搜索、存储、机器学习、广告、推荐等高性能系统。 </p> <h3 class="section-head">你可以使用它:</h3> <div class="father" style="display: flex; justify-content: center; margin: 0 20px"> <div class="child"> <li style="text-align:left">搭建能在一个端口支持多协议的服务, 或访问各种服务。</li> <ol style="text-align:left"> <li> restful http/https, h2/gRPC, 使用bRPC的http实现比libcurl方便多了。从其他语言通过HTTP/h2+json访问基于protobuf的协议。 </li> <li>redis and memcached, 线程安全,比官方client更方便。</li> <li>rtmp/flv/hls, 可用于搭建流媒体服务。</li> <li>hadoop_rpc (可能开源)。</li> <li>支持rdma。</li> <li>支持thrift, 线程安全,比官方client更方便。</li> <li>各种百度内使用的协议: baidu_std, streaming_rpc, hulu_pbrpc, sofa_pbrpc, nova_pbrpc, public_pbrpc, ubrpc和使用nshead的各种协议。</li> <li>基于工业级的RAFT算法实现搭建高可用分布式系统,已在braft开源。</li> </ol> <li style="text-align:left">Server能同步或异步处理请求。</li> <li style="text-align:left">Client支持同步、异步、半同步,或使用组合channels简化复杂的分库或并发访问。</li> <li style="text-align:left">通过http界面调试服务, 使用cpu, heap, contention profilers。</li> <li style="text-align:left">获得更好的延时和吞吐。</li> <li style="text-align:left">把你组织中使用的协议快速地加入bRPC,或定制各类组件, 包括命名服务(dns, zk, etcd), 负载均衡(rr, random, consistent hashing)。</li> </div> </div> </div> </div> <div id="overview"> <div class="contain"> <p> <img src="/images/asf_logo_apache.svg" style="max-width:30%" alt="The Apache Software Foundation" title="The Apache Software Foundation"> </p> <h4> bRPC是<a href="http://www.apache.org/">Apache</a>基金会顶级开源项目(TLP) </h4> </div> </div> <!-- {{< blocks/section >}} <div class="col"> <h1 class="text-center">This is the second Section</h1> </div> {{< /blocks/section >}} -->