brpc stream考虑控制流和数据流分开吗

Open
#3,043 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
22/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp

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.

Description

用stream传递大量数据的时候发现下面的问题

1)有stream连接在传输大量的数据

2)此时再建立新的stream连接发现耗时不稳定,通过打印发现时间消耗在服务器端发送response到客户端接收到这个阶段

主要怀疑应该是response包和stream的数据流使用了一个channel,导致response接收不稳定

我们已经做了大数据的拆分功能

所以感觉这块可能需要类似response的时候使用和stream数据不一样的channel才行,不知道好像有没有这个考虑,或者目前有什么好的办法? 谢谢:)

Dominant language
C++
Stars
17.6k
Forks
4.2k
Avg merge
3d 17h
Merged PRs (30d)
72

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/brpc

All issues in apache/brpc

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.