Skip to content

Commit

Permalink
modify to home page
Browse files Browse the repository at this point in the history
  • Loading branch information
huxiguo authored and huxiguo committed Jan 25, 2022
1 parent ce1c978 commit 08c6489
Show file tree
Hide file tree
Showing 587 changed files with 23 additions and 172,526 deletions.
42 changes: 22 additions & 20 deletions content/en/_index.html
Expand Up @@ -40,26 +40,28 @@ <h2 class="section-head">Why bRPC?</h2>
with 1,000,000+ instances(not counting clients) and thousands kinds of services.
</p>
<h3 class="section-head">You can use it to:</h3>
<p>
<li style="text-align:left">Build a server that can talk in multiple protocols (on same port), or access all sorts of services.</li>
<ol style="text-align:left">
<li>
restful http/https, h2/gRPC. using http/h2 in brpc is much more friendly than libcurl. Access protobuf-based protocols with HTTP/h2+json, probably from another language.
</li>
<li>redis and memcached, thread-safe, more friendly and performant than the official clients.</li>
<li>rtmp/flv/hls, for building streaming services.</li>
<li>hadoop_rpc (may be opensourced)</li>
<li>rdma support (will be opensourced)</li>
<li>thrift support, thread-safe, more friendly and performant than the official clients.</li>
<li>all sorts of protocols used in Baidu: baidu_std, streaming_rpc, hulu_pbrpc, sofa_pbrpc, nova_pbrpc, public_pbrpc, ubrpc and nshead-based ones.</li>
<li>Build HA distributed services using an industrial-grade implementation of RAFT consensus algorithm which is opensourced at braft</li>
</ol>
<li style="text-align:left">Servers can handle requests synchronously or asynchronously.</li>
<li style="text-align:left">Clients can access servers synchronously, asynchronously, semi-synchronously, or use combo channels to simplify sharded or parallel accesses declaratively.</li>
<li style="text-align:left">Debug services via http, and run cpu, heap and contention profilers.</li>
<li style="text-align:left">Get better latency and throughput.</li>
<li style="text-align:left">Extend brpc with the protocols used in your organization quickly, or customize components, including naming services (dns, zk, etcd), load balancers (rr, random, consistent hashing)</li>
</p>
<div class="father" style="display: flex; justify-content: center; margin: 0 20px">
<div class="child">
<li style="text-align:left">Build a server that can talk in multiple protocols (on same port), or access all sorts of services.</li>
<ol style="text-align:left">
<li>
restful http/https, h2/gRPC. using http/h2 in brpc is much more friendly than libcurl. Access protobuf-based protocols with HTTP/h2+json, probably from another language.
</li>
<li>redis and memcached, thread-safe, more friendly and performant than the official clients.</li>
<li>rtmp/flv/hls, for building streaming services.</li>
<li>hadoop_rpc (may be opensourced)</li>
<li>rdma support (will be opensourced)</li>
<li>thrift support, thread-safe, more friendly and performant than the official clients.</li>
<li>all sorts of protocols used in Baidu: baidu_std, streaming_rpc, hulu_pbrpc, sofa_pbrpc, nova_pbrpc, public_pbrpc, ubrpc and nshead-based ones.</li>
<li>Build HA distributed services using an industrial-grade implementation of RAFT consensus algorithm which is opensourced at braft</li>
</ol>
<li style="text-align:left">Servers can handle requests synchronously or asynchronously.</li>
<li style="text-align:left">Clients can access servers synchronously, asynchronously, semi-synchronously, or use combo channels to simplify sharded or parallel accesses declaratively.</li>
<li style="text-align:left">Debug services via http, and run cpu, heap and contention profilers.</li>
<li style="text-align:left">Get better latency and throughput.</li>
<li style="text-align:left">Extend brpc with the protocols used in your organization quickly, or customize components, including naming services (dns, zk, etcd), load balancers (rr, random, consistent hashing)</li>
</div>
</div>
</div>
</div>

Expand Down
25 changes: 1 addition & 24 deletions content/zh/_index.html
Expand Up @@ -39,8 +39,7 @@ <h2 class="section-head">为什么选择 bRPC?</h2>
百度内最常使用的工业级RPC框架, 有1,000,000+个实例(不包含client)和上千种多种服务。
</p>
<h3 class="section-head">你可以使用它:</h3>
<<<<<<< HEAD
<div class="father" style="display: flex; justify-content: center;">
<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">
Expand All @@ -62,28 +61,6 @@ <h3 class="section-head">你可以使用它:</h3>
<li style="text-align:left">把你组织中使用的协议快速地加入brpc,或定制各类组件, 包括命名服务(dns, zk, etcd), 负载均衡(rr, random, consistent hashing)。</li>
</div>
</div>
=======
<p>
<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>
</p>
>>>>>>> 3195043b4e9b37127fd9dfa7ca54b3aa98d299d7
</div>
</div>

Expand Down
Binary file removed public/.DS_Store
Binary file not shown.

0 comments on commit 08c6489

Please sign in to comment.