apache / apache/brpc

支持Thrift Compact Protocol

Open
#959 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
C++
Stars
17.6k
Forks
4.1k
Avg merge
2d 12h
Merged PRs (30d)
69

Description

**Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**
在某个实际业务场景下,压测显示ThriftCompactProtocol与ThriftBinaryProtocol相比可节省50%的带宽使用与10%的cpu使用。

**Describe the solution you'd like (描述你期望的解决方法)**
在brpc框架中添加Thrift Compact Protocol支持。

**Describe alternatives you've considered (描述你想到的折衷方案)**

**Additional context/screenshots (更多上下文/截图)**

Contributor guide

Open the contributing guide

Research direction

The issue names brpc and the existing ThriftBinaryProtocol and requests Thrift Compact Protocol support, but it does not identify files or tests. Start by locating brpc's current Thrift protocol integration and its protocol-related tests. Done means Compact Protocol is supported in brpc and the reported bandwidth and CPU benefits can be validated.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend-api-design, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.