You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/11/16 07:23:44 UTC

[GitHub] [dubbo-js] songjiachao opened a new issue, #316: Triple 协议资料

songjiachao opened a new issue, #316:
URL: https://github.com/apache/dubbo-js/issues/316

   ## 介绍
   Triple 协议是 Dubbo3 推出的主力协议。Triple 意为第三代,通过 Dubbo1.0/ Dubbo2.0 两代协议的演进,以及云原生带来的技术标准化浪潮,Dubbo3 新协议 Triple 应运而生。Triple以 HTTP2 作为传输层构建新的协议,兼容 gRPC
   ![](https://cdn.nlark.com/yuque/0/2022/jpeg/593396/1668568897234-dfff2410-7698-411c-b732-7d9bcc0c765e.jpeg)
   ## 协议头
   ### 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 |  |  | ✓ |
   | ...... |  |  | ✓ |
   
   ## 特性
   ![](https://cdn.nlark.com/yuque/0/2022/jpeg/593396/1668581564035-69ab75e9-c102-4a14-87b7-d76b788af8ef.jpeg)
   
   ## 参考
   | 1. | [Dubbo源码架构解析系列 - Triple 协议详解](https://www.bilibili.com/video/BV11T411c7Lh/?vd_source=ff8cb477e9c19fe79dadb6e22069f5a5) |
   | --- | --- |
   | 2. | [Dubbo3 Triple 协议简介与选型思考](https://juejin.cn/post/7041921013700886541) |
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org