Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
19fdb023
Unverified
Commit
19fdb023
authored
Jan 22, 2018
by
byronhe
Committed by
GitHub
Jan 22, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update benchmark.md
拼写错误吧?
parent
bea9ac8f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
benchmark.md
docs/cn/benchmark.md
+1
-1
No files found.
docs/cn/benchmark.md
View file @
19fdb023
...
...
@@ -23,7 +23,7 @@ NOTE: following tests were done in 2015, which may not reflect latest status of
-
nova_pbrpc:百度网盟团队在12年基于UB开发的RPC框架,用protobuf代替mcpack作为序列化方法,协议是nshead + user's protobuf。
-
public_pbrpc:百度在13年初基于UB开发的RPC框架,用protobuf代替mcpack作为序列化方法,但协议与nova_pbrpc不同,大致是nshead + meta protobuf。meta protobuf中有个string字段包含user's protobuf。由于用户数据要序列化两次,这个RPC的性能很差,没有被推广开来。
我们以在百度网盟团队广泛使用的nova_pbrpc为UB的代表。测试时其代码为r10500。早期的UB支持CPOOL和XPOOL,分别使用
[
select
](
http://linux.die.net/man/2/select
)
和
[
leader-follower模型
](
http://kircher-schwanninger.de/michael/publications/lf.pdf
)
,后来提供了EPO
OL,使用
[
epoll
](
http://man7.org/linux/man-pages/man7/epoll.7.html
)
处理多路连接。鉴于产品线大都是用EPOOL模型,我们的UB配置也使用EPOO
L。UB只支持
[
连接池
](
client.md#连接方式
)
,结果用“
**ubrpc_mc**
"指代(mc代表"multiple
我们以在百度网盟团队广泛使用的nova_pbrpc为UB的代表。测试时其代码为r10500。早期的UB支持CPOOL和XPOOL,分别使用
[
select
](
http://linux.die.net/man/2/select
)
和
[
leader-follower模型
](
http://kircher-schwanninger.de/michael/publications/lf.pdf
)
,后来提供了EPO
LL,使用
[
epoll
](
http://man7.org/linux/man-pages/man7/epoll.7.html
)
处理多路连接。鉴于产品线大都是用EPOLL模型,我们的UB配置也使用EPOL
L。UB只支持
[
连接池
](
client.md#连接方式
)
,结果用“
**ubrpc_mc**
"指代(mc代表"multiple
connection")。虽然这个名称不太准确(见上文对ubrpc的介绍),但在本文的语境下,请默认ubrpc = UB。
## hulu-pbrpc
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment