Skip to content

Commit

Permalink
docs: update mysql-threadpool-main-solutions-details
Browse files Browse the repository at this point in the history
  • Loading branch information
dbkernel committed Oct 27, 2023
1 parent 1235f9d commit 3b13829
Show file tree
Hide file tree
Showing 52 changed files with 250 additions and 569 deletions.
Binary file not shown.
Binary file not shown.
319 changes: 71 additions & 248 deletions docs/2023/05/04/mysql-threadpool-main-solutions-details/index.html

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
6 changes: 3 additions & 3 deletions docs/2023/06/05/mysql-mtr-03-source-code/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<meta property="og:image" content="http://dbkernel.github.io/2023/06/05/mysql-mtr-03-source-code/threadpool-sequence-chart.png">
<meta property="og:image" content="https://dbkernel-1306518848.cos.ap-beijing.myqcloud.com/wechat/my-wechat-official-account.png">
<meta property="article:published_time" content="2023-06-05T14:03:44.000Z">
<meta property="article:modified_time" content="2023-07-06T05:49:56.968Z">
<meta property="article:modified_time" content="2023-07-06T15:29:25.975Z">
<meta property="article:author" content="DBKernel">
<meta property="article:tag" content="MySQL">
<meta property="article:tag" content="测试框架">
Expand Down Expand Up @@ -425,7 +425,7 @@ <h1 id="源码分析"><a href="#源码分析" class="headerlink" title="源码
<li>单元测试:通过 mtr 调用 mysqltest,再调用 <code>xx-t</code> 等生成的二进制文件。</li>
</ul>
<p>更多内容请参考本系列「(一)入门篇」及「(二)进阶篇」。</p>
<h2 id="整体流程图"><a href="#整体流程图" class="headerlink" title="整体流程图"></a>整体流程图</h2><p><img src="/2023/06/05/mysql-mtr-03-source-code/threadpool-architecture.png" alt="线程池流程图" title="线程池流程图"></p>
<h2 id="整体流程图"><a href="#整体流程图" class="headerlink" title="整体流程图"></a>整体流程图</h2><p><img src="/2023/06/05/mysql-mtr-03-source-code/threadpool-architecture.png" alt="MTR整体流程图" title="MTR整体流程图"></p>
<h2 id="mysql-test-run-pl"><a href="#mysql-test-run-pl" class="headerlink" title="mysql-test-run.pl"></a>mysql-test-run.pl</h2><h3 id="时序图"><a href="#时序图" class="headerlink" title="时序图"></a>时序图</h3><p><strong>MTR 框架时序图如下所示:</strong></p>
<p><img src="/2023/06/05/mysql-mtr-03-source-code/threadpool-sequence-chart.png" alt="MTR时序图(来源于腾讯数据库技术公众号)" title="MTR时序图(来源于腾讯数据库技术公众号)"></p>
<h3 id="框架流程"><a href="#框架流程" class="headerlink" title="框架流程"></a>框架流程</h3><p>如上图所示,<code>mysql-test-run.pl</code>框架运行流程如下:</p>
Expand Down Expand Up @@ -533,7 +533,7 @@ <h1 id="参考"><a href="#参考" class="headerlink" title="参考"></a>参考</
<p><span>本文标题:</span><a href="/2023/06/05/mysql-mtr-03-source-code/">源码分析 | MySQL测试框架 MTR 系列教程(三):源码篇</a></p>
<p><span>文章作者:</span><a href="/" title="回到主页">DBKernel</a></p>
<p><span>发布时间:</span>2023-06-05, 22:03:44</p>
<p><span>最后更新:</span>2023-07-06, 13:49:56</p>
<p><span>最后更新:</span>2023-07-06, 23:29:25</p>
<p>
<span>原始链接:</span><a class="post-url" href="/2023/06/05/mysql-mtr-03-source-code/" title="源码分析 | MySQL测试框架 MTR 系列教程(三):源码篇">http://dbkernel.github.io/2023/06/05/mysql-mtr-03-source-code/</a>
<span class="copy-path" data-clipboard-text="原文: http://dbkernel.github.io/2023/06/05/mysql-mtr-03-source-code/  作者: DBKernel" title="点击复制文章链接"><i class="fa fa-clipboard"></i></span>
Expand Down
4 changes: 2 additions & 2 deletions docs/archives/2023/05/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -340,12 +340,12 @@ <h1 itemprop="name">


<span class="post-wordcount" itemprop="wordCount">
字数统计: 13.5k(字) </a>
字数统计: 11.4k(字) </a>
</span>


<span class="post-readcount" itemprop="timeRequired">
阅读时长: 48(分)
阅读时长: 41(分)
</span>


Expand Down
4 changes: 2 additions & 2 deletions docs/archives/2023/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -440,12 +440,12 @@ <h1 itemprop="name">


<span class="post-wordcount" itemprop="wordCount">
字数统计: 13.5k(字) </a>
字数统计: 11.4k(字) </a>
</span>


<span class="post-readcount" itemprop="timeRequired">
阅读时长: 48(分)
阅读时长: 41(分)
</span>


Expand Down
4 changes: 2 additions & 2 deletions docs/archives/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -440,12 +440,12 @@ <h1 itemprop="name">


<span class="post-wordcount" itemprop="wordCount">
字数统计: 13.5k(字) </a>
字数统计: 11.4k(字) </a>
</span>


<span class="post-readcount" itemprop="timeRequired">
阅读时长: 48(分)
阅读时长: 41(分)
</span>


Expand Down
14 changes: 8 additions & 6 deletions docs/atom.xml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/categories/MySQL/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -440,12 +440,12 @@ <h1 itemprop="name">


<span class="post-wordcount" itemprop="wordCount">
字数统计: 13.5k(字) </a>
字数统计: 11.4k(字) </a>
</span>


<span class="post-readcount" itemprop="timeRequired">
阅读时长: 48(分)
阅读时长: 41(分)
</span>


Expand Down
2 changes: 1 addition & 1 deletion docs/content.json

Large diffs are not rendered by default.

15 changes: 2 additions & 13 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -514,13 +514,6 @@ <h1 itemprop="name">
<div class="article-entry" itemprop="articleBody">


<p><strong>作者:卢文双 资深数据库内核研发</strong></p>
<blockquote>
<p><strong>本文首发于 2023-05-04 22:07:40</strong></p>
</blockquote>
<p>本文主要从功能层面对比 percona-server、mariadb、华为鲲鹏 BoostKit 数据库使能套件、阿里云 AliSQL、腾讯 TXSQL、MySQL 企业版线程池方案,都基于 MySQL 8.0。</p>
<p>至于源码层面,腾讯、阿里云、MySQL 企业版不开源,percona 借鉴了 mariadb 早期版本的实现,而华为鲲鹏同时借鉴了 mariadb 和 percona 的实现,但考虑到线程池代码只有 2000 行左右,相对简单,本文就不做过多阐述了。</p>


</div>

Expand All @@ -541,20 +534,16 @@ <h1 itemprop="name">


<span class="post-wordcount" itemprop="wordCount">
字数统计: 13.5k(字) </a>
字数统计: 11.4k(字) </a>
</span>


<span class="post-readcount" itemprop="timeRequired">
阅读时长: 48(分)
阅读时长: 41(分)
</span>



<p class="article-more-link">
<a href="/2023/05/04/mysql-threadpool-main-solutions-details/#more">more >></a>
</p>

<div class="clearfix"></div>
</div>

Expand Down
4 changes: 2 additions & 2 deletions docs/search.xml

Large diffs are not rendered by default.

Loading

0 comments on commit 3b13829

Please sign in to comment.