brpc stream考虑控制流和数据流分开吗
Open
- Dominant language
- C++
- Stars
- 17.6k
- Forks
- 4.1k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 69
Description
用stream传递大量数据的时候发现下面的问题
1)有stream连接在传输大量的数据
2)此时再建立新的stream连接发现耗时不稳定,通过打印发现时间消耗在服务器端发送response到客户端接收到这个阶段
主要怀疑应该是response包和stream的数据流使用了一个channel,导致response接收不稳定
我们已经做了大数据的拆分功能
所以感觉这块可能需要类似response的时候使用和stream数据不一样的channel才行,不知道好像有没有这个考虑,或者目前有什么好的办法? 谢谢:)
Contributor guide
Research direction
Reproduce the reported latency instability while one stream transfers a large amount of data and a new stream is established. Trace how response packets and stream data share a channel, then determine whether separating their paths is feasible; done means a documented or tested resolution for stable response delivery under load.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend-api-design, networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 22/100