This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch asf-site-v2
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/asf-site-v2 by this push:
     new 5724e01fa5 deploy: ab6167930c6dba907505b76e21c21378ca313f29
5724e01fa5 is described below

commit 5724e01fa53de12969a531d7720b1cd05de3e641
Author: AlbumenJ <[email protected]>
AuthorDate: Thu Feb 9 08:22:19 2023 +0000

    deploy: ab6167930c6dba907505b76e21c21378ca313f29
---
 sitemap.xml                                        |  2 +-
 .../performance/threading-model/index.xml          | 54 ++++++++++++++++------
 .../threading-model/provider/index.html            |  8 ++--
 zh/sitemap.xml                                     |  2 +-
 4 files changed, 46 insertions(+), 20 deletions(-)

diff --git a/sitemap.xml b/sitemap.xml
index 8803beb000..2b0aa17d9e 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://dubbo.apache.org/zh/sitemap.xml</loc><lastmod>2023-02-09T16:17:37+08:00</lastmod></sitemap><sitemap><loc>https://dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-02-09T08:44:24+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://dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-02-09T08:44:24+08:00</lastmod></sitemap><sitemap><loc>https://dubbo.apache.org/zh/sitemap.xml</loc><lastmod>2023-02-09T16:17:59+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
diff --git 
a/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/threading-model/index.xml
 
b/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/threading-model/index.xml
index b5270b07ba..32dc509673 100644
--- 
a/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/threading-model/index.xml
+++ 
b/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/threading-model/index.xml
@@ -1,6 +1,7 @@
 <rss version="2.0" 
xmlns:atom="http://www.w3.org/2005/Atom";><channel><title>Apache Dubbo – 
线程模型</title><link>https://dubbo.apache.org/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/threading-model/</link><description>Recent
 content in 线程模型 on Apache Dubbo</description><generator>Hugo -- 
gohugo.io</generator><language>en-us</language><atom:link 
href="https://dubbo.apache.org/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/threading-model/index.xml";
 rel="self" ty [...]
+&lt;h2 id="功能说明">功能说明&lt;/h2>
 &lt;p>Dubbo协议的和Triple协议目前的线程模型还并没有对齐,下面分开介绍Triple协议和Dubbo协议的线程模型。&lt;/p>
-&lt;h1 id="dubbo协议provider端线程模型">Dubbo协议——Provider端线程模型&lt;/h1>
+&lt;h3 id="dubbo协议provider端线程模型">Dubbo协议—Provider端线程模型&lt;/h3>
 &lt;p>介绍Dubbo协议的Provider端线程模型之前,先介绍Dubbo对channel上的操作抽象成了五种行为:&lt;/p>
 &lt;ul>
 
&lt;li>建立连接:connected,主要是的职责是在channel记录read、write的时间,以及处理建立连接后的回调逻辑,比如dubbo支持在断开后自定义回调的hook(onconnect),即在该操作中执行。&lt;/li>
@@ -10,6 +11,10 @@
 &lt;li>异常捕获:caught,用于处理在channel上发生的各类异常。&lt;/li>
 &lt;/ul>
 
&lt;p>Dubbo框架的线程模型与以上这五种行为息息相关,Dubbo协议Provider线程模型可以分为五类,也就是AllDispatcher、DirectDispatcher、MessageOnlyDispatcher、ExecutionDispatcher、ConnectionOrderedDispatcher。&lt;/p>
+&lt;h3 id="triple协议provider端线程模型">Triple协议—Provider端线程模型&lt;/h3>
+&lt;p>下图为Triple协议 Provider端的线程模型&lt;/p>
+&lt;p>&lt;img 
src="https://dubbo.apache.org/imgs/v3/feature/performance/threading-model/triple-provider.png";
 alt="triple-provider">&lt;/p>
+&lt;p>Triple协议Provider线程模型目前还比较简单,目前序列化和反序列化操作都在Dubbo线程上工作,而IO线程并没有承载这些工作。&lt;/p>
 &lt;h3 id="all-dispatcher">All Dispatcher&lt;/h3>
 &lt;p>下图是All Dispatcher的线程模型说明图:&lt;/p>
 &lt;p>&lt;img 
src="https://dubbo.apache.org/imgs/v3/feature/performance/threading-model/dubbo-provider-alldispatcher.png";
 alt="dubbo-provider-alldispatcher">&lt;/p>
@@ -95,11 +100,39 @@
 &lt;/ol>
 &lt;/li>
 &lt;/ul>
-&lt;h1 id="triple协议provider端线程模型">Triple协议——Provider端线程模型&lt;/h1>
-&lt;p>下图为Triple协议 Provider端的线程模型&lt;/p>
-&lt;p>&lt;img 
src="https://dubbo.apache.org/imgs/v3/feature/performance/threading-model/triple-provider.png";
 alt="triple-provider">&lt;/p>
-&lt;p>Triple协议Provider线程模型目前还比较简单,目前序列化和反序列化操作都在Dubbo线程上工作,而IO线程并没有承载这些工作。&lt;/p>
-&lt;h1 id="如何调整线程模型">如何调整线程模型&lt;/h1>
+&lt;h2 id="使用场景">使用场景&lt;/h2>
+&lt;h2 id="使用方式">使用方式&lt;/h2>
+&lt;table>
+&lt;thead>
+&lt;tr>
+&lt;th>线程模型&lt;/th>
+&lt;th>配置&lt;/th>
+&lt;/tr>
+&lt;/thead>
+&lt;tbody>
+&lt;tr>
+&lt;td>All Dispatcher&lt;/td>
+&lt;td>all&lt;/td>
+&lt;/tr>
+&lt;tr>
+&lt;td>Direct Dispatcher&lt;/td>
+&lt;td>direct&lt;/td>
+&lt;/tr>
+&lt;tr>
+&lt;td>Execution Dispatcher&lt;/td>
+&lt;td>execution&lt;/td>
+&lt;/tr>
+&lt;tr>
+&lt;td>Message Only Dispatcher&lt;/td>
+&lt;td>message&lt;/td>
+&lt;/tr>
+&lt;tr>
+&lt;td>Connection Ordered Dispatcher&lt;/td>
+&lt;td>connection&lt;/td>
+&lt;/tr>
+&lt;/tbody>
+&lt;/table>
+&lt;h3 id="线程模型示例">线程模型示例&lt;/h3>
 &lt;p>拿yaml的配置方式举例:在protocol下配置dispatcher: all,即可把dubbo协议的线程模型调整为All 
Dispatcher&lt;/p>
 &lt;div class="highlight">&lt;pre tabindex="0" 
style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code
 class="language-yaml" data-lang="yaml">&lt;span 
style="display:flex;">&lt;span>&lt;span style="color:#268bd2">dubbo&lt;/span>:
 &lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span 
style="color:#268bd2">application&lt;/span>:
@@ -115,14 +148,7 @@
 &lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span 
style="color:#268bd2">address&lt;/span>: zookeeper://127.0.0.1:2181
 &lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span 
style="color:#268bd2">metadata-report&lt;/span>:
 &lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span 
style="color:#268bd2">address&lt;/span>: zookeeper://127.0.0.1:2181
-&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>各线程模型的配置值:&lt;/p>
-&lt;ul>
-&lt;li>All Dispatcher all&lt;/li>
-&lt;li>Direct Dispatcher direct&lt;/li>
-&lt;li>Execution Dispatcher execution&lt;/li>
-&lt;li>Message Only Dispatcher: message&lt;/li>
-&lt;li>Connection Ordered Dispatcher: connection&lt;/li>
-&lt;/ul></description></item><item><title>Docs3-V2: 
消费端线程模型</title><link>https://dubbo.apache.org/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/threading-model/consumer/</link><pubDate>Mon,
 01 Jan 0001 00:00:00 
+0000</pubDate><guid>https://dubbo.apache.org/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/threading-model/consumer/</guid><description>
+&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Docs3-V2:
 
消费端线程模型</title><link>https://dubbo.apache.org/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/threading-model/consumer/</link><pubDate>Mon,
 01 Jan 0001 00:00:00 
+0000</pubDate><guid>https://dubbo.apache.org/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/threading-model/consumer/</guid><description>
 &lt;h2 id="功能说明">功能说明&lt;/h2>
 &lt;p>2.7.5 版本对整个调用链路做了全面的优化,根据压测结果显示,总体 QPS 性能提升将近 
30%,同时也减少了调用过程中的内存分配开销。其中一个值得提及的设计点是 2.7.5 引入了 Servicerepository 
的概念,在服务注册阶段提前生成 ServiceDescriptor 和 MethodDescriptor,以减少 RPC 调用阶段计算 Service 
原信息带来的资源消耗。&lt;/p>
 &lt;h2 id="使用场景">使用场景&lt;/h2>
diff --git 
a/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/threading-model/provider/index.html
 
b/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/threading-model/provider/index.html
index 35b365b062..674671a3e3 100644
--- 
a/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/threading-model/provider/index.html
+++ 
b/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/threading-model/provider/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/performance/threading-model/provider.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-s
 [...]
 <a 
href="https://github.com/apache/dubbo-website/issues/new?title=%e6%9c%8d%e5%8a%a1%e7%ab%af%e7%ba%bf%e7%a8%8b%e6%a8%a1%e5%9e%8b";
 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><ul><li><a href=#all-dispatcher>All 
Dispatcher</a></li><li><a href=#direct-dispatcher>Direct 
Dispatcher</a></li><li><a href=#execution-dispatcher>Execution 
Dispatcher</a></li><li><a href=#message-only-dispatcher>Message Only 
Dispatcher</a></li><li><a href=#connection-ordered-dispatcher>Connection 
Ordered Dispatcher</a></li>< [...]
+<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=#dubbo协议provider端线程模型>Dubbo协议—Provider端线程模型</a></li><li><a 
href=#triple协议provider端线程模型>Triple协议—Provider端线程模型</a></li><li><a 
href=#all-dispatcher>All Dispatcher</a></li><li><a 
href=#direct-dispatcher>Direct Dispatcher</a></li><li><a 
href=#execution-dispatcher>Execution Dispatcher</a></li [...]
 </span></span><span style=display:flex><span>  <span 
style=color:#268bd2>application</span>:
 </span></span><span style=display:flex><span>    <span 
style=color:#268bd2>name</span>: dubbo-springboot-demo-provider
 </span></span><span style=display:flex><span>  <span 
style=color:#268bd2>protocol</span>:
@@ -17,8 +17,8 @@
 </span></span><span style=display:flex><span>    <span 
style=color:#268bd2>address</span>: zookeeper://127.0.0.1:2181
 </span></span><span style=display:flex><span>  <span 
style=color:#268bd2>metadata-report</span>:
 </span></span><span style=display:flex><span>    <span 
style=color:#268bd2>address</span>: zookeeper://127.0.0.1:2181
-</span></span></code></pre></div><p>各线程模型的配置值:</p><ul><li>All Dispatcher 
all</li><li>Direct Dispatcher direct</li><li>Execution Dispatcher 
execution</li><li>Message Only Dispatcher: message</li><li>Connection Ordered 
Dispatcher: 
connection</li></ul><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</h [...]
-<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 
[...]
+</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 
[...]
 <script src=/js/bootstrap.min.js 
integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy
 crossorigin=anonymous></script>
 <script 
src=/js/main.min.9f304eb79b67eb331e2b22923c361575b563af25c0fd56279cf20f3a2417cff4.js
 integrity="sha256-nzBOt5tn6zMeKyKSPDYVdbVjryXA/VYnnPIPOiQXz/Q=" 
crossorigin=anonymous></script>
 <script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
diff --git a/zh/sitemap.xml b/zh/sitemap.xml
index 925d68a1fb..428ce49332 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://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://dubbo.apache.org/en/docs3-v2/java-sdk/faq/0/"/><xhtml:link 
rel="alternate" hreflang="zh" href="https://dubbo.a [...]
\ 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://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://dubbo.apache.org/en/docs3-v2/java-sdk/faq/0/"/><xhtml:link 
rel="alternate" hreflang="zh" href="https://dubbo.a [...]
\ No newline at end of file

Reply via email to