Triple 协议资料
- Dominant language
- TypeScript
- Stars
- 776
- Forks
- 157
- PR merge metrics
- No merged PRs in 30d
Description
## 介绍
Triple 协议是 Dubbo3 推出的主力协议。Triple 意为第三代,通过 Dubbo1.0/ Dubbo2.0 两代协议的演进,以及云原生带来的技术标准化浪潮,Dubbo3 新协议 Triple 应运而生。Triple以 HTTP2 作为传输层构建新的协议,兼容 gRPC

## 协议头
### request headers
| **header name** | **HTTP/2 header** | **gRPC header** | **Triple header** |
| --- | --- | --- | --- |
| :schme | ✓ | ✓ | ✓ |
| :authority | ✓ | ✓ | ✓ |
| :path | ✓ | ✓ | ✓ |
| :method | ✓ | ✓ | ✓ |
| content-type | ✓ | ✓ | ✓ |
| te | ✓ | ✓ | ✓ |
| grpc-accept-encoding | | ✓ | ✓ |
| grpc-encoding | | ✓ | ✓ |
| grpc-timeout | | ✓ | ✓ |
| tri-service-version | | | ✓ |
| tri-service-group | | | ✓ |
| tri-consumer-appname | | | ✓ |
### reponse headers
| **header name** | **HTTP/2 header** | **gRPC header** | **Triple header** |
| --- | --- | --- | --- |
| content-type | ✓ | ✓ | ✓ |
| grpc-status | | ✓ | ✓ |
| grpc-message | | ✓ | ✓ |
| grpc-status-details-bin | | | ✓ |
| ...... | | | ✓ |
## 特性

## 参考
| 1. | [Dubbo源码架构解析系列 - Triple 协议详解](https://www.bilibili.com/video/BV11T411c7Lh/?vd_source=ff8cb477e9c19fe79dadb6e22069f5a5) |
| --- | --- |
| 2. | [Dubbo3 Triple 协议简介与选型思考](https://juejin.cn/post/7041921013700886541) |
Contributor guide
Research direction
The issue provides Triple protocol material but names no target file, test, or documentation entry point. Start by locating the repository’s documentation structure and deciding where this protocol reference belongs. Done should include a defined destination and clear acceptance criteria for publishing the material.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- grpc, typescript
- Domain
- backend-api-design, documentation, networking
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100