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 0005ee5fcc2 # 粘滞连接 (#1478)
0005ee5fcc2 is described below
commit 0005ee5fcc29fb912b7addf4045773173788edc6
Author: JIAN ZHONG <[email protected]>
AuthorDate: Thu Sep 8 10:44:10 2022 +0800
# 粘滞连接 (#1478)
---
.../java-sdk/advanced-features-and-usage/performance/stickiness.md | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
a/content/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/stickiness.md
b/content/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/stickiness.md
index cfe4ca93e26..7be1c79960a 100644
---
a/content/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/stickiness.md
+++
b/content/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/stickiness.md
@@ -5,11 +5,14 @@ linkTitle: "粘滞连接"
weight: 31
description: "为有状态服务配置粘滞连接"
---
+## 特性说明
+## 使用场景
粘滞连接用于有状态服务,尽可能让客户端总是向同一提供者发起调用,除非该提供者挂了,再连另一台。
-粘滞连接将自动开启[延迟连接](../lazy-connect),以减少长连接数。
+粘滞连接将自动开启 [延迟连接](../lazy-connect),以减少长连接数。
+## 使用方式
```xml
<dubbo:reference id="xxxService" interface="com.xxx.XxxService" sticky="true"
/>
```
@@ -21,4 +24,3 @@ Dubbo 支持方法级别的粘滞连接,如果你想进行更细粒度的控
<dubbo:method name="sayHello" sticky="true" />
</dubbo:reference>
```
-