You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by ji...@apache.org on 2021/10/23 15:58:39 UTC

[shardingsphere] branch master updated: Merge concepts' index (#13239)

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

jianglongtao 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 2fa2e74  Merge concepts' index (#13239)
2fa2e74 is described below

commit 2fa2e742dd3ea985144239bd5fd1ef5514744bcf
Author: Liang Zhang <te...@163.com>
AuthorDate: Sat Oct 23 23:58:00 2021 +0800

    Merge concepts' index (#13239)
---
 .../document/content/concepts/adaptor/_index.cn.md | 55 +++++++++++++++++++++
 .../document/content/concepts/adaptor/_index.en.md | 57 ++++++++++++++++++++++
 .../content/concepts/adaptor/hybrid-adaptors.cn.md | 13 -----
 .../content/concepts/adaptor/hybrid-adaptors.en.md | 14 ------
 .../concepts/adaptor/shardingsphere-jdbc.cn.md     | 30 ------------
 .../concepts/adaptor/shardingsphere-jdbc.en.md     | 31 ------------
 .../concepts/adaptor/shardingsphere-proxy.cn.md    | 29 -----------
 .../concepts/adaptor/shardingsphere-proxy.en.md    | 29 -----------
 8 files changed, 112 insertions(+), 146 deletions(-)

diff --git a/docs/document/content/concepts/adaptor/_index.cn.md b/docs/document/content/concepts/adaptor/_index.cn.md
index 222f4ed..537b26b 100644
--- a/docs/document/content/concepts/adaptor/_index.cn.md
+++ b/docs/document/content/concepts/adaptor/_index.cn.md
@@ -7,3 +7,58 @@ chapter = true
 
 Apache ShardingSphere 由 ShardingSphere-JDBC 和 ShardingSphere-Proxy 这 2 款既能够独立部署,又支持混合部署配合使用的产品组成。
 它们均提供标准化的基于数据库作为存储节点的增量功能,可适用于如 Java 同构、异构语言、云原生等各种多样化的应用场景。
+
+## ShardingSphere-JDBC
+
+ShardingSphere-JDBC 是 Apache ShardingSphere 的第一个产品,也是 Apache ShardingSphere 的前身。
+定位为轻量级 Java 框架,在 Java 的 JDBC 层提供的额外服务。
+它使用客户端直连数据库,以 jar 包形式提供服务,无需额外部署和依赖,可理解为增强版的 JDBC 驱动,完全兼容 JDBC 和各种 ORM 框架。
+
+* 适用于任何基于 JDBC 的 ORM 框架,如:JPA, Hibernate, Mybatis, Spring JDBC Template 或直接使用 JDBC。
+* 支持任何第三方的数据库连接池,如:DBCP, C3P0, BoneCP, Druid, HikariCP 等。
+* 支持任意实现 JDBC 规范的数据库,目前支持 MySQL,Oracle,SQLServer,PostgreSQL 以及任何遵循 SQL92 标准的数据库。
+
+![ShardingSphere-JDBC Architecture](https://shardingsphere.apache.org/document/current/img/shardingsphere-jdbc_v3.png)
+
+|           | *ShardingSphere-JDBC* | *ShardingSphere-Proxy* |
+| --------- | --------------------- | ---------------------- |
+| 数据库     | `任意`                | MySQL/PostgreSQL       |
+| 连接消耗数 | `高`                  | 低                      |
+| 异构语言   | `仅Java`              | 任意                    |
+| 性能       | `损耗低`              | 损耗略高                |
+| 无中心化   | `是`                  | 否                     |
+| 静态入口   | `无`                  | 有                     |
+
+ShardingSphere-JDBC 的优势在于对 Java 应用的友好度。
+
+## ShardingSphere-Proxy
+
+ShardingSphere-Proxy 是 Apache ShardingSphere 的第二个产品。
+它定位为透明化的数据库代理端,提供封装了数据库二进制协议的服务端版本,用于完成对异构语言的支持。
+目前提供 MySQL 和 PostgreSQL(兼容 openGauss 等基于 PostgreSQL 的数据库)版本,它可以使用任何兼容 MySQL/PostgreSQL 协议的访问客户端(如:MySQL Command Client, MySQL Workbench, Navicat 等)操作数据,对 DBA 更加友好。
+
+* 向应用程序完全透明,可直接当做 MySQL/PostgreSQL 使用。
+* 适用于任何兼容 MySQL/PostgreSQL 协议的的客户端。
+
+![ShardingSphere-Proxy Architecture](https://shardingsphere.apache.org/document/current/img/shardingsphere-proxy_v2.png)
+
+|           | *ShardingSphere-JDBC* | *ShardingSphere-Proxy*  |
+| --------- | --------------------- | ----------------------- |
+| 数据库     | 任意                  | `MySQL/PostgreSQL`      |
+| 连接消耗数 | 高                    | `低`                     |
+| 异构语言   | 仅Java                | `任意`                   |
+| 性能       | 损耗低                | `损耗略高`                |
+| 无中心化   | 是                    | `否`                     |
+| 静态入口   | 无                    | `有`                     |
+
+ShardingSphere-Proxy 的优势在于对异构语言的支持,以及为 DBA 提供可操作入口。
+
+## 混合架构
+
+ShardingSphere-JDBC 采用无中心化架构,与应用程序共享资源,适用于 Java 开发的高性能的轻量级 OLTP 应用;
+ShardingSphere-Proxy 提供静态入口以及异构语言的支持,独立于应用程序部署,适用于 OLAP 应用以及对分片数据库进行管理和运维的场景。
+
+Apache ShardingSphere 是多接入端共同组成的生态圈。
+通过混合使用 ShardingSphere-JDBC 和 ShardingSphere-Proxy,并采用同一注册中心统一配置分片策略,能够灵活的搭建适用于各种场景的应用系统,使得架构师更加自由地调整适合与当前业务的最佳系统架构。
+
+![Hybrid Architecture](https://shardingsphere.apache.org/document/current/img/shardingsphere-hybrid-architecture_v2.png)
diff --git a/docs/document/content/concepts/adaptor/_index.en.md b/docs/document/content/concepts/adaptor/_index.en.md
index 415e37e..0d7ed19 100644
--- a/docs/document/content/concepts/adaptor/_index.en.md
+++ b/docs/document/content/concepts/adaptor/_index.en.md
@@ -8,3 +8,60 @@ chapter = true
 Apache ShardingSphere including 2 independent products: ShardingSphere-JDBC & ShardingSphere-Proxy.
 They all provide functions of data scale-out, distributed transaction and distributed governance,
 applicable in a variety of situations such as Java isomorphism, heterogeneous language and Cloud-Native.
+
+## ShardingSphere-JDBC
+
+As the first product and the predecessor of Apache ShardingSphere,
+ShardingSphere-JDBC defines itself as a lightweight Java framework that provides extra service at Java JDBC layer.
+With the client end connecting directly to the database, it provides service in the form of jar and requires no extra deployment and dependence.
+It can be considered as an enhanced JDBC driver, which is fully compatible with JDBC and all kinds of ORM frameworks.
+
+* Applicable in any ORM framework based on JDBC, such as JPA, Hibernate, Mybatis, Spring JDBC Template or direct use of JDBC.
+* Support any third-party database connection pool, such as DBCP, C3P0, BoneCP, Druid, HikariCP.
+* Support any kind of JDBC standard database: MySQL, Oracle, SQLServer, PostgreSQL and any SQL92 followed databases.
+
+![ShardingSphere-JDBC Architecture](https://shardingsphere.apache.org/document/current/img/shardingsphere-jdbc_v3.png)
+
+|                        | *ShardingSphere-JDBC* | *ShardingSphere-Proxy* |
+| ---------------------- | --------------------- | ---------------------- |
+| Database               | `Any`                 | MySQL/PostgreSQL       |
+| Connections Count Cost | `More`                | Less                   |
+| Supported Languages    | `Java Only`           | Any                    |
+| Performance            | `Low loss`            | Relatively High loss   |
+| Decentralization       | `Yes`                 | No                     |
+| Static Entry           | `No`                  | Yes                    |
+
+ShardingSphere-JDBC is suitable for java application.
+
+## ShardingSphere-Proxy
+
+ShardingSphere-Proxy is the second product of Apache ShardingSphere.
+It defines itself as a transparent database proxy, providing a database server that encapsulates database binary protocol to support heterogeneous languages.
+Currently, MySQL and PostgreSQL (compatible with PostgreSQL-based databases, such as openGauss) versions are provided. It can use any kind of terminal (such as MySQL Command Client, MySQL Workbench, etc.) that is compatible of MySQL or PostgreSQL protocol to operate data, which is friendlier to DBAs
+
+* Totally transparent to applications, it can be used directly as MySQL/PostgreSQL.
+* Applicable to any kind of client end that is compatible with MySQL/PostgreSQL protocol.
+
+![ShardingSphere-Proxy Architecture](https://shardingsphere.apache.org/document/current/img/shardingsphere-proxy_v2.png)
+
+|                          | *ShardingSphere-JDBC* | *ShardingSphere-Proxy*       |
+| ------------------------ | --------------------- | ---------------------------- |
+| Database                 | Any                   | `MySQL/PostgreSQL`           |
+| Connections Count Cost   | High                  | `Low`                        |
+| Supported Languages      | Java Only             | `Any`                        |
+| Performance              | Low loss              | `Relatively high loss`       |
+| Decentralization         | Yes                   | `No`                         |
+| Static Entry             | No                    | `Yes`                        |
+
+The advantages of ShardingSphere-Proxy lie in supporting heterogeneous languages and providing operational entries for DBA.
+
+## Hybrid Adaptors
+
+ShardingSphere-JDBC adopts a decentralized architecture, applicable to high-performance light-weight OLTP application developed with Java.
+ShardingSphere-Proxy provides static entry and all languages support, applicable for OLAP application and the sharding databases management and operation situation.
+
+ShardingSphere is an ecosystem consisting of multiple endpoints together.
+Through a mixed use of ShardingSphere-JDBC and ShardingSphere-Proxy and a unified sharding strategy by the same registry center, ShardingSphere can build an application system that is applicable to all kinds of scenarios.
+Architects can adjust the system architecture to the most applicable one to their needs to conduct business more freely.
+
+![Hybrid Architecture](https://shardingsphere.apache.org/document/current/img/shardingsphere-hybrid-architecture_v2.png)
diff --git a/docs/document/content/concepts/adaptor/hybrid-adaptors.cn.md b/docs/document/content/concepts/adaptor/hybrid-adaptors.cn.md
deleted file mode 100644
index 1ddb7e4..0000000
--- a/docs/document/content/concepts/adaptor/hybrid-adaptors.cn.md
+++ /dev/null
@@ -1,13 +0,0 @@
-+++
-pre = "<b>3.1.3. </b>"
-title = "混合架构"
-weight = 3
-+++
-
-ShardingSphere-JDBC 采用无中心化架构,与应用程序共享资源,适用于 Java 开发的高性能的轻量级 OLTP 应用;
-ShardingSphere-Proxy 提供静态入口以及异构语言的支持,独立于应用程序部署,适用于 OLAP 应用以及对分片数据库进行管理和运维的场景。
-
-Apache ShardingSphere 是多接入端共同组成的生态圈。
-通过混合使用 ShardingSphere-JDBC 和 ShardingSphere-Proxy,并采用同一注册中心统一配置分片策略,能够灵活的搭建适用于各种场景的应用系统,使得架构师更加自由地调整适合与当前业务的最佳系统架构。
-
-![ShardingSphere Hybrid Architecture](https://shardingsphere.apache.org/document/current/img/shardingsphere-hybrid-architecture_v2.png)
diff --git a/docs/document/content/concepts/adaptor/hybrid-adaptors.en.md b/docs/document/content/concepts/adaptor/hybrid-adaptors.en.md
deleted file mode 100644
index a5cf512..0000000
--- a/docs/document/content/concepts/adaptor/hybrid-adaptors.en.md
+++ /dev/null
@@ -1,14 +0,0 @@
-+++
-pre = "<b>3.1.3. </b>"
-title = "Hybrid Adaptors"
-weight = 3
-+++
-
-ShardingSphere-JDBC adopts a decentralized architecture, applicable to high-performance light-weight OLTP application developed with Java.
-ShardingSphere-Proxy provides static entry and all languages support, applicable for OLAP application and the sharding databases management and operation situation.
-
-ShardingSphere is an ecosystem consisting of multiple endpoints together.
-Through a mixed use of ShardingSphere-JDBC and ShardingSphere-Proxy and a unified sharding strategy by the same registry center, ShardingSphere can build an application system that is applicable to all kinds of scenarios.
-Architects can adjust the system architecture to the most applicable one to their needs to conduct business more freely.
-
-![ShardingSphere Hybrid Architecture](https://shardingsphere.apache.org/document/current/img/shardingsphere-hybrid-architecture_v2.png)
diff --git a/docs/document/content/concepts/adaptor/shardingsphere-jdbc.cn.md b/docs/document/content/concepts/adaptor/shardingsphere-jdbc.cn.md
deleted file mode 100644
index 55400f0..0000000
--- a/docs/document/content/concepts/adaptor/shardingsphere-jdbc.cn.md
+++ /dev/null
@@ -1,30 +0,0 @@
-+++
-pre = "<b>3.1.1. </b>"
-title = "ShardingSphere-JDBC"
-weight = 1
-+++
-
-## 简介
-
-ShardingSphere-JDBC 是 Apache ShardingSphere 的第一个产品,也是 Apache ShardingSphere 的前身。
-定位为轻量级 Java 框架,在 Java 的 JDBC 层提供的额外服务。
-它使用客户端直连数据库,以 jar 包形式提供服务,无需额外部署和依赖,可理解为增强版的 JDBC 驱动,完全兼容 JDBC 和各种 ORM 框架。
-
-* 适用于任何基于 JDBC 的 ORM 框架,如:JPA, Hibernate, Mybatis, Spring JDBC Template 或直接使用 JDBC。
-* 支持任何第三方的数据库连接池,如:DBCP, C3P0, BoneCP, Druid, HikariCP 等。
-* 支持任意实现 JDBC 规范的数据库,目前支持 MySQL,Oracle,SQLServer,PostgreSQL 以及任何遵循 SQL92 标准的数据库。
-
-![ShardingSphere-JDBC Architecture](https://shardingsphere.apache.org/document/current/img/shardingsphere-jdbc_v3.png)
-
-## 对比
-
-|           | *ShardingSphere-JDBC* | *ShardingSphere-Proxy* |
-| --------- | --------------------- | ---------------------- |
-| 数据库     | `任意`                | MySQL/PostgreSQL       |
-| 连接消耗数 | `高`                  | 低                      |
-| 异构语言   | `仅Java`              | 任意                    |
-| 性能       | `损耗低`              | 损耗略高                |
-| 无中心化   | `是`                  | 否                     |
-| 静态入口   | `无`                  | 有                     |
-
-ShardingSphere-JDBC 的优势在于对 Java 应用的友好度。
diff --git a/docs/document/content/concepts/adaptor/shardingsphere-jdbc.en.md b/docs/document/content/concepts/adaptor/shardingsphere-jdbc.en.md
deleted file mode 100644
index 0fa9f62..0000000
--- a/docs/document/content/concepts/adaptor/shardingsphere-jdbc.en.md
+++ /dev/null
@@ -1,31 +0,0 @@
-+++
-pre = "<b>3.1.1. </b>"
-title = "ShardingSphere-JDBC"
-weight = 1
-+++
-
-## Introduction
-
-As the first product and the predecessor of Apache ShardingSphere,
-ShardingSphere-JDBC defines itself as a lightweight Java framework that provides extra service at Java JDBC layer.
-With the client end connecting directly to the database, it provides service in the form of jar and requires no extra deployment and dependence.
-It can be considered as an enhanced JDBC driver, which is fully compatible with JDBC and all kinds of ORM frameworks.
-
-* Applicable in any ORM framework based on JDBC, such as JPA, Hibernate, Mybatis, Spring JDBC Template or direct use of JDBC.
-* Support any third-party database connection pool, such as DBCP, C3P0, BoneCP, Druid, HikariCP.
-* Support any kind of JDBC standard database: MySQL, Oracle, SQLServer, PostgreSQL and any SQL92 followed databases.
-
-![ShardingSphere-JDBC Architecture](https://shardingsphere.apache.org/document/current/img/shardingsphere-jdbc_v3.png)
-
-## Comparison
-
-|                        | *ShardingSphere-JDBC* | *ShardingSphere-Proxy* |
-| ---------------------- | --------------------- | ---------------------- |
-| Database               | `Any`                 | MySQL/PostgreSQL       |
-| Connections Count Cost | `More`                | Less                   |
-| Supported Languages    | `Java Only`           | Any                    |
-| Performance            | `Low loss`            | Relatively High loss   |
-| Decentralization       | `Yes`                 | No                     |
-| Static Entry           | `No`                  | Yes                    |
-
-ShardingSphere-JDBC is suitable for java application.
diff --git a/docs/document/content/concepts/adaptor/shardingsphere-proxy.cn.md b/docs/document/content/concepts/adaptor/shardingsphere-proxy.cn.md
deleted file mode 100644
index 0b8513b..0000000
--- a/docs/document/content/concepts/adaptor/shardingsphere-proxy.cn.md
+++ /dev/null
@@ -1,29 +0,0 @@
-+++
-pre = "<b>3.1.2. </b>"
-title = "ShardingSphere-Proxy"
-weight = 2
-+++
-
-## 简介
-
-ShardingSphere-Proxy 是 Apache ShardingSphere 的第二个产品。
-它定位为透明化的数据库代理端,提供封装了数据库二进制协议的服务端版本,用于完成对异构语言的支持。
-目前提供 MySQL 和 PostgreSQL(兼容 openGauss 等基于 PostgreSQL 的数据库)版本,它可以使用任何兼容 MySQL/PostgreSQL 协议的访问客户端(如:MySQL Command Client, MySQL Workbench, Navicat 等)操作数据,对 DBA 更加友好。
-
-* 向应用程序完全透明,可直接当做 MySQL/PostgreSQL 使用。
-* 适用于任何兼容 MySQL/PostgreSQL 协议的的客户端。
-
-![ShardingSphere-Proxy Architecture](https://shardingsphere.apache.org/document/current/img/shardingsphere-proxy_v2.png)
-
-## 对比
-
-|           | *ShardingSphere-JDBC* | *ShardingSphere-Proxy*  |
-| --------- | --------------------- | ----------------------- |
-| 数据库     | 任意                  | `MySQL/PostgreSQL`      |
-| 连接消耗数 | 高                    | `低`                     |
-| 异构语言   | 仅Java                | `任意`                   |
-| 性能       | 损耗低                | `损耗略高`                |
-| 无中心化   | 是                    | `否`                     |
-| 静态入口   | 无                    | `有`                     |
-
-ShardingSphere-Proxy 的优势在于对异构语言的支持,以及为 DBA 提供可操作入口。
diff --git a/docs/document/content/concepts/adaptor/shardingsphere-proxy.en.md b/docs/document/content/concepts/adaptor/shardingsphere-proxy.en.md
deleted file mode 100644
index 3772d52..0000000
--- a/docs/document/content/concepts/adaptor/shardingsphere-proxy.en.md
+++ /dev/null
@@ -1,29 +0,0 @@
-+++
-pre = "<b>3.1.2. </b>"
-title = "ShardingSphere-Proxy"
-weight = 2
-+++
-
-## Introduction
-
-ShardingSphere-Proxy is the second product of Apache ShardingSphere.
-It defines itself as a transparent database proxy, providing a database server that encapsulates database binary protocol to support heterogeneous languages.
-Currently, MySQL and PostgreSQL (compatible with PostgreSQL-based databases, such as openGauss) versions are provided. It can use any kind of terminal (such as MySQL Command Client, MySQL Workbench, etc.) that is compatible of MySQL or PostgreSQL protocol to operate data, which is friendlier to DBAs
-
-* Totally transparent to applications, it can be used directly as MySQL/PostgreSQL.
-* Applicable to any kind of client end that is compatible with MySQL/PostgreSQL protocol.
-
-![ShardingSphere-Proxy Architecture](https://shardingsphere.apache.org/document/current/img/shardingsphere-proxy_v2.png)
-
-## Comparison
-
-|                          | *ShardingSphere-JDBC* | *ShardingSphere-Proxy*       |
-| ------------------------ | --------------------- | ---------------------------- |
-| Database                 | Any                   | `MySQL/PostgreSQL`           |
-| Connections Count Cost   | High                  | `Low`                        |
-| Supported Languages      | Java Only             | `Any`                        |
-| Performance              | Low loss              | `Relatively high loss`       |
-| Decentralization         | Yes                   | `No`                         |
-| Static Entry             | No                    | `Yes`                        |
-
-The advantages of ShardingSphere-Proxy lie in supporting heterogeneous languages and providing operational entries for DBA.