apache / apache/incubator-pegasus

并发批量请求服务器,服务端处理都在1ms以内返回,但客户端等请求都返回到回调处理时总共经历了6~8ms。

Open
#531 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type/performance
Dominant language
C++
Stars
2.1k
Forks
328
PR merge metrics
No merged PRs in 30d

Description

## Bug Report

Please answer these questions before submitting your issue. Thanks!

1. What did you do?
If possible, provide a recipe for reproducing the error.
万兆网卡。空数据(1000~5000)async_multi_get,c++接口测试
2. What did you expect to see?
期望在服务端请求时延(1ms以内)内返回,或者2倍左右
3. What did you see instead?
总请求耗时5ms以上
4. What version of Pegasus are you using?
v1.12

Contributor guide

Open the contributing guide

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.

Research direction

Reproduce the issue with the C++ async_multi_get test on a 10Gb NIC, using 1,000–5,000 empty-data requests against Pegasus v1.12. Compare the server-side latency with the end-to-end time until callback handling completes; done means identifying the source of the extra 5ms or more and documenting a reproducible result.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.