apache / apache/brpc

RDMA和TCP混跑性能问题

Open
#3,237 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
17.6k
Forks
4.1k
Avg merge
2d 12h
Merged PRs (30d)
69

Description

具体例子是一个server单进程,RDMA client端接收上游的http请求,处理请求后与下游RDMA server(s)通信,整合下游server结果并回复上游http client。启用RDMA会导致iobuf的分配函数被覆盖,与上游http client的通信会使用RDMA的memory pool导致不必要的竞争和开销。

Contributor guide

Open the contributing guide

Research direction

Start by tracing the iobuf allocation function and the RDMA memory-pool setup in the mixed HTTP/TCP and RDMA server path described in the issue. Reproduce a single process receiving upstream HTTP requests while communicating with downstream RDMA servers; done means upstream TCP traffic no longer uses the RDMA pool unnecessarily and the resulting contention or overhead is addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend, networking, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.