This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch cn-site
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/cn-site by this push:
new 8e6a2708a3 deploy: d548012d182a96fc4caa7f3e77b2f44d8cd06dc3
8e6a2708a3 is described below
commit 8e6a2708a3af9be835c06124c6b66aed92aca5d2
Author: AlbumenJ <[email protected]>
AuthorDate: Mon Feb 6 09:12:17 2023 +0000
deploy: d548012d182a96fc4caa7f3e77b2f44d8cd06dc3
---
sitemap.xml | 2 +-
.../service/fault-tolerent-strategy/index.html | 8 ++++----
.../java-sdk/advanced-features-and-usage/service/index.xml | 13 ++++++++++---
zh/sitemap.xml | 2 +-
4 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/sitemap.xml b/sitemap.xml
index 1153856ab3..d35853f055 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://cn.dubbo.apache.org/zh/sitemap.xml</loc><lastmod>2023-02-05T09:16:05+08:00</lastmod></sitemap><sitemap><loc>https://cn.dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-02-05T09:16:05+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://cn.dubbo.apache.org/zh/sitemap.xml</loc><lastmod>2023-02-06T17:08:12+08:00</lastmod></sitemap><sitemap><loc>https://cn.dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-02-05T09:16:05+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
diff --git
a/zh/docs3-v2/java-sdk/advanced-features-and-usage/service/fault-tolerent-strategy/index.html
b/zh/docs3-v2/java-sdk/advanced-features-and-usage/service/fault-tolerent-strategy/index.html
index 8ace45aa35..9370dbf14e 100644
---
a/zh/docs3-v2/java-sdk/advanced-features-and-usage/service/fault-tolerent-strategy/index.html
+++
b/zh/docs3-v2/java-sdk/advanced-features-and-usage/service/fault-tolerent-strategy/index.html
@@ -1,9 +1,9 @@
-<!doctype html><html lang=zh class=no-js><head><meta charset=utf-8><meta
name=viewport
content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta
name=generator content="Hugo 0.110.0"><meta name=ROBOTS content="INDEX,
FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link
rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png
sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png
sizes=16x16><link rel=icon type=image/png href=/favicons [...]
+<!doctype html><html lang=zh class=no-js><head><meta charset=utf-8><meta
name=viewport
content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta
name=generator content="Hugo 0.110.0"><meta name=ROBOTS content="INDEX,
FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link
rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png
sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png
sizes=16x16><link rel=icon type=image/png href=/favicons [...]
<link rel=preload
href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css
as=style><link
href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css
rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
crossorigin=anonymous></script>
<link rel=stylesheet
href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body
class=td-page><header><nav class="js-navbar-scroll navbar navbar-expand
navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand
href=/zh/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path
class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05
25.45-22.11V7.25H68.46zm21.24-28h8.6V31H89.7zm0 [...]
<a
href="https://github.com/apache/dubbo-website/new/master/content/zh/docs3-v2/java-sdk/advanced-features-and-usage/service/fault-tolerent-strategy.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-starte
[...]
<a
href="https://github.com/apache/dubbo-website/issues/new?title=%e9%9b%86%e7%be%a4%e5%ae%b9%e9%94%99"
target=_blank><i class="fab fa-github fa-fw"></i> 提交文档问题</a>
-<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas
fa-tasks fa-fw"></i> 提交项目问题</a></div><div class=td-toc><nav
id=TableOfContents><ul><li><a href=#集群容错模式>集群容错模式</a><ul><li><a
href=#failover-cluster>Failover Cluster</a></li><li><a
href=#failfast-cluster>Failfast Cluster</a></li><li><a
href=#failsafe-cluster>Failsafe Cluster</a></li><li><a
href=#failback-cluster>Failback Cluster</a></li><li><a
href=#forking-cluster>Forking Cluster</a></li><li><a href=#broadcast- [...]
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas
fa-tasks fa-fw"></i> 提交项目问题</a></div><div class=td-toc><nav
id=TableOfContents><ul><li><a href=#特性说明>特性说明</a></li><li><a
href=#使用场景>使用场景</a></li><li><a href=#使用方式>使用方式</a><ul><li><a
href=#failover-cluster>Failover Cluster</a></li><li><a
href=#failfast-cluster>Failfast Cluster</a></li><li><a
href=#failsafe-cluster>Failsafe Cluster</a></li><li><a
href=#failback-cluster>Failback Cluster</a></li><li><a href=#forki [...]
</span></span></code></pre></div><p>或</p><div class=highlight><pre tabindex=0
style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-xml data-lang=xml><span style=display:flex><span><span
style=color:#268bd2><dubbo:reference</span> retries=<span
style=color:#2aa198>"2"</span> <span style=color:#268bd2>/></span>
</span></span></code></pre></div><p>或</p><div class=highlight><pre tabindex=0
style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-xml data-lang=xml><span style=display:flex><span><span
style=color:#268bd2><dubbo:reference></span>
</span></span><span style=display:flex><span> <span
style=color:#268bd2><dubbo:method</span> name=<span
style=color:#2aa198>"findFoo"</span> retries=<span
style=color:#2aa198>"2"</span> <span style=color:#268bd2>/></span>
@@ -17,10 +17,10 @@ broadcast.fail.percent 只是控制的当失败后是否继续调用其他节点
</span></span></code></pre></div><ol
start=3><li>权重轮询:根据每个注册中心的权重分配流量</li></ol><div class=highlight><pre tabindex=0
style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-xml data-lang=xml><span style=display:flex><span><span
style=color:#268bd2><dubbo:registry</span> id=<span
style=color:#2aa198>"beijing"</span> address=<span
style=color:#2aa198>"zookeeper://127.0.0.1:2181"</span> weight=<span
style=color:#2aa198> [...]
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span><span
style=color:#268bd2><dubbo:registry</span> id=<span
style=color:#2aa198>"shanghai"</span> address=<span
style=color:#2aa198>"zookeeper://127.0.0.1:2182"</span> weight=<span
style=color:#2aa198>"10"</span> <span style=color:#268bd2>/></span>
-</span></span></code></pre></div><ol start=4><li>缺省值:选择一个可用的注册中心</li></ol><h2
id=集群模式配置>集群模式配置</h2><p>按照以下示例在服务提供方和消费方配置集群模式</p><div class=highlight><pre
tabindex=0
style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-xml data-lang=xml><span style=display:flex><span><span
style=color:#268bd2><dubbo:service</span> cluster=<span
style=color:#2aa198>"failsafe"</span> <span
style=color:#268bd2>/></span>
+</span></span></code></pre></div><ol start=4><li>缺省值:选择一个可用的注册中心</li></ol><h3
id=集群模式示例>集群模式示例</h3><p>按照以下示例在服务提供方和消费方配置集群模式</p><div class=highlight><pre
tabindex=0
style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-xml data-lang=xml><span style=display:flex><span><span
style=color:#268bd2><dubbo:service</span> cluster=<span
style=color:#2aa198>"failsafe"</span> <span
style=color:#268bd2>/></span>
</span></span></code></pre></div><p>或</p><div class=highlight><pre tabindex=0
style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-xml data-lang=xml><span style=display:flex><span><span
style=color:#268bd2><dubbo:reference</span> cluster=<span
style=color:#2aa198>"failsafe"</span> <span
style=color:#268bd2>/></span>
</span></span></code></pre></div><style>.feedback--answer{display:inline-block}.feedback--answer-no{margin-left:1em}.feedback--response{display:none;margin-top:1em}.feedback--response__visible{display:block}</style><div
class=d-print-none><h2 class=feedback--title>Feedback</h2><p
class=feedback--question>Was this page helpful?</p><button class="btn
btn-primary mb-4 feedback--answer feedback--answer-yes">Yes</button>
-<button class="btn btn-primary mb-4 feedback--answer
feedback--answer-no">No</button><p class="feedback--response
feedback--response-yes">Glad to hear it! Please <a
href=https://github.com/apache/dubbo-website/issues/new>tell us how we can
improve</a>.</p><p class="feedback--response feedback--response-no">Sorry to
hear that. Please <a
href=https://github.com/apache/dubbo-website/issues/new>tell us how we can
improve</a>.</p></div><script>const yesButton=document.querySelector(".feedback
[...]
+<button class="btn btn-primary mb-4 feedback--answer
feedback--answer-no">No</button><p class="feedback--response
feedback--response-yes">Glad to hear it! Please <a
href=https://github.com/apache/dubbo-website/issues/new>tell us how we can
improve</a>.</p><p class="feedback--response feedback--response-no">Sorry to
hear that. Please <a
href=https://github.com/apache/dubbo-website/issues/new>tell us how we can
improve</a>.</p></div><script>const yesButton=document.querySelector(".feedback
[...]
<script src=/js/bootstrap.min.js
integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy
crossorigin=anonymous></script>
<script
src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js
integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k="
crossorigin=anonymous></script>
<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
diff --git a/zh/docs3-v2/java-sdk/advanced-features-and-usage/service/index.xml
b/zh/docs3-v2/java-sdk/advanced-features-and-usage/service/index.xml
index 15f5c2a099..2e29373a28 100644
--- a/zh/docs3-v2/java-sdk/advanced-features-and-usage/service/index.xml
+++ b/zh/docs3-v2/java-sdk/advanced-features-and-usage/service/index.xml
@@ -979,6 +979,7 @@ Dubbo协议支持,以及Qos协议支持。这些协议的识别都是由一个
<blockquote>
<p>总是 <strong>只调</strong> 一个可用组的实现</p>
</blockquote></description></item><item><title>Docs3-V2:
集群容错</title><link>https://cn.dubbo.apache.org/zh/docs3-v2/java-sdk/advanced-features-and-usage/service/fault-tolerent-strategy/</link><pubDate>Mon,
01 Jan 0001 00:00:00
+0000</pubDate><guid>https://cn.dubbo.apache.org/zh/docs3-v2/java-sdk/advanced-features-and-usage/service/fault-tolerent-strategy/</guid><description>
+<h2 id="特性说明">特性说明</h2>
<p>在集群调用失败时,Dubbo 提供了多种容错方案,缺省为 failover 重试。</p>
<p><img src="https://cn.dubbo.apache.org/imgs/user/cluster.jpg"
alt="cluster"></p>
<p>各节点关系:</p>
@@ -989,8 +990,14 @@ Dubbo协议支持,以及Qos协议支持。这些协议的识别都是由一个
<li><code>Router</code> 负责从多个 <code>Invoker</code>
中按路由规则选出子集,比如读写分离,应用隔离等</li>
<li><code>LoadBalance</code> 负责从多个 <code>Invoker</code>
中选出具体的一个用于本次调用,选的过程包含了负载均衡算法,调用失败后,需要重选</li>
</ul>
-<h2 id="集群容错模式">集群容错模式</h2>
-<p>可以自行扩展集群容错策略,参见:<a
href="../../../reference-manual/spi/description/cluster/">集群扩展</a></p>
+<p>通过使用服务注册表和负载平衡,可以提高集群提供的容错能力,服务注册表用于存储有关可用服务及其位置的信息,负载平衡用于确保请求均匀分布在集群中的所有服务器上,如果一台服务器发生故障,负载将转移到其他可用服务器。</p>
+<p>配置监视集群中服务器运行状况的运行状况检查,如果服务器未通过运行状况检查,则可以将其从集群中删除,并将负载转移到其余服务器,确保集群正常运行,并且用户可以使用应用程序。</p>
+<h2 id="使用场景">使用场景</h2>
+<p>多个服务器部署同一集群中,运行同一应用程序,如果一台服务器出现故障,其他服务器将接管负载,确保应用程序对用户仍然可用。</p>
+<blockquote>
+<p>可以自行扩展集群容错策略 <a
href="../../../reference-manual/spi/description/cluster/">集群扩展</a></p>
+</blockquote>
+<h2 id="使用方式">使用方式</h2>
<h3 id="failover-cluster">Failover Cluster</h3>
<p>失败自动切换,当出现失败,重试其它服务器。通常用于读操作,但重试会带来更长延迟。可通过
<code>retries=&quot;2&quot;</code> 来设置重试次数(不含第一次)。</p>
<p>重试次数配置如下:</p>
@@ -1051,7 +1058,7 @@ broadcast.fail.percent 只是控制的当失败后是否继续调用其他节点
</span></span></code></pre></div><ol start="4">
<li>缺省值:选择一个可用的注册中心</li>
</ol>
-<h2 id="集群模式配置">集群模式配置</h2>
+<h3 id="集群模式示例">集群模式示例</h3>
<p>按照以下示例在服务提供方和消费方配置集群模式</p>
<div class="highlight"><pre tabindex="0"
style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-xml" data-lang="xml"><span
style="display:flex;"><span><span
style="color:#268bd2">&lt;dubbo:service</span> cluster=<span
style="color:#2aa198">&#34;failsafe&#34;</span> <span
style="color:#268bd2">/&gt;</span>
</span></span></code></pre></div><p>或</p>
diff --git a/zh/sitemap.xml b/zh/sitemap.xml
index 8b2869b449..e47205096c 100644
--- a/zh/sitemap.xml
+++ b/zh/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://cn.dubbo.apache.org/zh/docs3-v2/java-sdk/faq/0/</loc><lastmod>2022-08-01T10:49:31+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority><xhtml:link
rel="alternate" hreflang="en"
href="https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/faq/0/"/><xhtml:link
rel="alternate" hreflang="zh" href="https://c [...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://cn.dubbo.apache.org/zh/docs3-v2/java-sdk/faq/0/</loc><lastmod>2022-08-01T10:49:31+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority><xhtml:link
rel="alternate" hreflang="en"
href="https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/faq/0/"/><xhtml:link
rel="alternate" hreflang="zh" href="https://c [...]
\ No newline at end of file