You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2021/09/09 13:05:28 UTC

[shardingsphere] branch master updated: Add about mode document for website (#12310)

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

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new e972b34  Add about mode document for website (#12310)
e972b34 is described below

commit e972b3497a42d3ed6896f4233fd3c8f91ffef6eb
Author: zhaojinchao <33...@users.noreply.github.com>
AuthorDate: Thu Sep 9 21:04:41 2021 +0800

    Add about mode document for website (#12310)
    
    * add mode document and adjust location
    
    * update
---
 docs/document/content/features/mode/_index.cn.md   | 23 +++++++++++++++++++
 docs/document/content/features/mode/_index.en.md   | 26 ++++++++++++++++++++++
 .../features/pluggable-architecture/_index.cn.md   |  4 ++--
 .../features/pluggable-architecture/_index.en.md   |  4 ++--
 .../content/features/test-engine/_index.cn.md      |  4 ++--
 .../content/features/test-engine/_index.en.md      |  4 ++--
 .../features/test-engine/integration-test.cn.md    |  2 +-
 .../features/test-engine/integration-test.en.md    |  2 +-
 .../content/features/test-engine/parser-test.cn.md |  2 +-
 .../content/features/test-engine/parser-test.en.md |  2 +-
 .../test-engine/performance-test-sysbench.cn.md    |  2 +-
 .../test-engine/performance-test-sysbench.en.md    |  2 +-
 .../features/test-engine/performance-test.cn.md    |  2 +-
 .../features/test-engine/performance-test.en.md    |  2 +-
 .../features/test-engine/rewrite-test.cn.md        |  2 +-
 .../features/test-engine/rewrite-test.en.md        |  2 +-
 16 files changed, 67 insertions(+), 18 deletions(-)

diff --git a/docs/document/content/features/mode/_index.cn.md b/docs/document/content/features/mode/_index.cn.md
new file mode 100644
index 0000000..982d6d2
--- /dev/null
+++ b/docs/document/content/features/mode/_index.cn.md
@@ -0,0 +1,23 @@
++++
+pre = "<b>3.9. </b>"
+title = "mode模式"
+weight = 9
+chapter = true
++++
+
+## 背景
+
+为满足用户不同的需求,比如快速测试、单机运行和分布式运行。mode 提供了三种模式,它们分别是 Memory 模式、Standalone 模式、以及 Cluster 模式。
+
+## Memory 模式
+
+Memory 模式适用于做快速集成测试,方便开发人员在整合功能测试中集成 ShardingSphere。该模式也是 Apache ShardingSphere 的默认模式。
+
+## Standalone 模式
+
+Standalone 模式适用于单机环境,通过该模式可将数据源、规则等元数据进行持久化。其中 Standalone 模式中的 File 类型会将配置信息写入您所指定的 Path,
+如果没有设置 Path 属性,那么 ShardingSphere 会在根目录创建 .shardingsphere 文件用来存储配置信息。
+
+## Cluster 模式
+
+Cluster 模式适用于分布式场景,它提供了多个计算节点之间的元数据共享和状态协调。
diff --git a/docs/document/content/features/mode/_index.en.md b/docs/document/content/features/mode/_index.en.md
new file mode 100644
index 0000000..e458563
--- /dev/null
+++ b/docs/document/content/features/mode/_index.en.md
@@ -0,0 +1,26 @@
++++
+pre = "<b>3.9. </b>"
+title = "mode"
+weight = 9
+chapter = true
++++
+
+## Background
+
+To meet different user needs, such as quick test, stand-alone operation and distributed operation mode provides three modes, 
+which are: Memory mode, Standalone mode, and Cluster mode.
+
+## Memory mode
+
+The memory mode is suitable for fast integration testing, which is convenient for testing, such as for developers looking to perform fast integration function testing. 
+This mode is also Apache ShardingSphere’s default mode.
+
+## Standalone mode
+
+The standalone mode is suitable in a standalone environment, through which data sources, rules, and metadata can be persisted. 
+Among them, the File type in Standalone mode will write the configuration information to the Path you specify. If the Path attribute is not set, 
+then Apache ShardingSphere will create a .shardingsphere file in the root directory to store configuration information.
+
+## Cluster mode
+
+The cluster mode is suitable for use in distributed scenarios. Cluster mode provides metadata sharing and state coordination among multiple computing nodes.
diff --git a/docs/document/content/features/pluggable-architecture/_index.cn.md b/docs/document/content/features/pluggable-architecture/_index.cn.md
index d3e9c24..3187a4f 100644
--- a/docs/document/content/features/pluggable-architecture/_index.cn.md
+++ b/docs/document/content/features/pluggable-architecture/_index.cn.md
@@ -1,7 +1,7 @@
 +++
-pre = "<b>3.9. </b>"
+pre = "<b>3.10. </b>"
 title = "可插拔架构"
-weight = 9
+weight = 10
 chapter = true
 +++
 
diff --git a/docs/document/content/features/pluggable-architecture/_index.en.md b/docs/document/content/features/pluggable-architecture/_index.en.md
index e8d6c9f..bb4b55f 100644
--- a/docs/document/content/features/pluggable-architecture/_index.en.md
+++ b/docs/document/content/features/pluggable-architecture/_index.en.md
@@ -1,7 +1,7 @@
 +++
-pre = "<b>3.9. </b>"
+pre = "<b>3.10. </b>"
 title = "Pluggable Architecture"
-weight = 9
+weight = 10
 chapter = true
 +++
 
diff --git a/docs/document/content/features/test-engine/_index.cn.md b/docs/document/content/features/test-engine/_index.cn.md
index 11e1e4fd..8a1f6f8 100644
--- a/docs/document/content/features/test-engine/_index.cn.md
+++ b/docs/document/content/features/test-engine/_index.cn.md
@@ -1,7 +1,7 @@
 +++
-pre = "<b>3.10. </b>"
+pre = "<b>3.11. </b>"
 title = "测试引擎"
-weight = 10
+weight = 11
 chapter = true
 +++
 
diff --git a/docs/document/content/features/test-engine/_index.en.md b/docs/document/content/features/test-engine/_index.en.md
index 14fb4fd..2556b13 100644
--- a/docs/document/content/features/test-engine/_index.en.md
+++ b/docs/document/content/features/test-engine/_index.en.md
@@ -1,7 +1,7 @@
 +++
-pre = "<b>3.10. </b>"
+pre = "<b>3.11. </b>"
 title = "Test Engine"
-weight = 10
+weight = 11
 chapter = true
 +++
 
diff --git a/docs/document/content/features/test-engine/integration-test.cn.md b/docs/document/content/features/test-engine/integration-test.cn.md
index a298b20..672cfd4 100644
--- a/docs/document/content/features/test-engine/integration-test.cn.md
+++ b/docs/document/content/features/test-engine/integration-test.cn.md
@@ -1,5 +1,5 @@
 +++
-pre = "<b>3.9.1. </b>"
+pre = "<b>3.11.1. </b>"
 title = "集成测试"
 weight = 1
 +++
diff --git a/docs/document/content/features/test-engine/integration-test.en.md b/docs/document/content/features/test-engine/integration-test.en.md
index a5d8dc8..c41ab9c 100644
--- a/docs/document/content/features/test-engine/integration-test.en.md
+++ b/docs/document/content/features/test-engine/integration-test.en.md
@@ -1,5 +1,5 @@
 +++
-pre = "<b>3.9.1. </b>"
+pre = "<b>3.11.1. </b>"
 title = "Integration Test"
 weight = 1
 +++
diff --git a/docs/document/content/features/test-engine/parser-test.cn.md b/docs/document/content/features/test-engine/parser-test.cn.md
index 39b21b2..73aa071 100644
--- a/docs/document/content/features/test-engine/parser-test.cn.md
+++ b/docs/document/content/features/test-engine/parser-test.cn.md
@@ -1,5 +1,5 @@
 +++
-pre = "<b>3.9.2. </b>"
+pre = "<b>3.11.2. </b>"
 title = "SQL 解析测试"
 weight = 2
 +++
diff --git a/docs/document/content/features/test-engine/parser-test.en.md b/docs/document/content/features/test-engine/parser-test.en.md
index e0d6ab8..30202bb 100644
--- a/docs/document/content/features/test-engine/parser-test.en.md
+++ b/docs/document/content/features/test-engine/parser-test.en.md
@@ -1,5 +1,5 @@
 +++
-pre = "<b>3.9.2. </b>"
+pre = "<b>3.11.2. </b>"
 title = "SQL Parser Test"
 weight = 2
 +++
diff --git a/docs/document/content/features/test-engine/performance-test-sysbench.cn.md b/docs/document/content/features/test-engine/performance-test-sysbench.cn.md
index 4b73494..4c5f98f 100644
--- a/docs/document/content/features/test-engine/performance-test-sysbench.cn.md
+++ b/docs/document/content/features/test-engine/performance-test-sysbench.cn.md
@@ -1,5 +1,5 @@
 +++
-pre = "<b>3.9.5. </b>"
+pre = "<b>3.11.5. </b>"
 title = "性能测试(sysbench)"
 weight = 5
 +++
diff --git a/docs/document/content/features/test-engine/performance-test-sysbench.en.md b/docs/document/content/features/test-engine/performance-test-sysbench.en.md
index 35464de..9532122 100644
--- a/docs/document/content/features/test-engine/performance-test-sysbench.en.md
+++ b/docs/document/content/features/test-engine/performance-test-sysbench.en.md
@@ -1,5 +1,5 @@
 +++
-pre = "<b>3.9.5. </b>"
+pre = "<b>3.11.5. </b>"
 title = "Performance Test(sysbench)"
 weight = 5
 +++
diff --git a/docs/document/content/features/test-engine/performance-test.cn.md b/docs/document/content/features/test-engine/performance-test.cn.md
index b376e15..f59461e 100644
--- a/docs/document/content/features/test-engine/performance-test.cn.md
+++ b/docs/document/content/features/test-engine/performance-test.cn.md
@@ -1,5 +1,5 @@
 +++
-pre = "<b>3.9.4. </b>"
+pre = "<b>3.11.4. </b>"
 title = "性能测试"
 weight = 4
 +++
diff --git a/docs/document/content/features/test-engine/performance-test.en.md b/docs/document/content/features/test-engine/performance-test.en.md
index 313844d..55ba794 100644
--- a/docs/document/content/features/test-engine/performance-test.en.md
+++ b/docs/document/content/features/test-engine/performance-test.en.md
@@ -1,5 +1,5 @@
 +++
-pre = "<b>3.9.4. </b>"
+pre = "<b>3.11.4. </b>"
 title = "Performance Test"
 weight = 4
 +++
diff --git a/docs/document/content/features/test-engine/rewrite-test.cn.md b/docs/document/content/features/test-engine/rewrite-test.cn.md
index bbf922c..fe475df 100644
--- a/docs/document/content/features/test-engine/rewrite-test.cn.md
+++ b/docs/document/content/features/test-engine/rewrite-test.cn.md
@@ -1,5 +1,5 @@
 +++
-pre = "<b>3.9.3. </b>"
+pre = "<b>3.11.3. </b>"
 title = "SQL 改写测试"
 weight = 3
 +++
diff --git a/docs/document/content/features/test-engine/rewrite-test.en.md b/docs/document/content/features/test-engine/rewrite-test.en.md
index 4cc9ef5..ace4447 100644
--- a/docs/document/content/features/test-engine/rewrite-test.en.md
+++ b/docs/document/content/features/test-engine/rewrite-test.en.md
@@ -1,5 +1,5 @@
 +++
-pre = "<b>3.9.3. </b>"
+pre = "<b>3.11.3. </b>"
 title = "SQL Rewrite Test"
 weight = 3
 +++