This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/master by this push:
new 135d916bd48 # 多协议 (#1432)
135d916bd48 is described below
commit 135d916bd487852227f3354b045175a4f05c3b4f
Author: JIAN ZHONG <[email protected]>
AuthorDate: Mon Aug 29 11:15:29 2022 +0800
# 多协议 (#1432)
---
.../advanced-features-and-usage/service/multi-protocols.md | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git
a/content/zh/docs3-v2/java-sdk/advanced-features-and-usage/service/multi-protocols.md
b/content/zh/docs3-v2/java-sdk/advanced-features-and-usage/service/multi-protocols.md
index 7c1e09f8034..c095d749571 100644
---
a/content/zh/docs3-v2/java-sdk/advanced-features-and-usage/service/multi-protocols.md
+++
b/content/zh/docs3-v2/java-sdk/advanced-features-and-usage/service/multi-protocols.md
@@ -5,11 +5,14 @@ linkTitle: "多协议"
weight: 9
description: "在 Dubbo 中配置多协议"
---
-
+## 特性说明
Dubbo 允许配置多协议,在不同服务上支持不同协议或者同一服务上同时支持多种协议。
-## 不同服务不同协议
+## 使用场景
+
+## 使用方式
+### 不同服务不同协议
不同服务在性能上适用不同协议进行传输,比如大数据用短连接协议,小数据大并发用长连接协议
```xml
@@ -30,8 +33,7 @@ Dubbo 允许配置多协议,在不同服务上支持不同协议或者同一
</beans>
```
-## 多协议暴露服务
-
+### 多协议暴露服务
需要与 http 客户端相互操作
```xml
@@ -49,5 +51,3 @@ Dubbo 允许配置多协议,在不同服务上支持不同协议或者同一
<dubbo:service id="helloService"
interface="com.alibaba.hello.api.HelloService" version="1.0.0"
protocol="dubbo,hessian" />
</beans>
```
-
-[^1]: 可以自行扩展协议,参见:[协议扩展](/zh/docsv2.7/dev/impls/protocol/)