Apache ShardingSphere 中文文档 5.0.0
ShardingSphere document, v5.0.0 3.2.4 集群模式 适用于分布式场景,它提供了多个计算节点之间的元数据共享和状态协调。需要提供用于分布式协调的 注册中心组件,如:ZooKeeper、Etcd 等。 3.3 DistSQL 3.3.1 背景 DistSQL(Distributed SQL)是 Apache ShardingSphere 特有的内置 SQL 语言,提供了标准 v5.0.0 另一方面,不同节点节点之间的统一协调,策略与规则的同步,也需要我们能够设计一套在分布式情况 下,进行全局事件通知机制,以及独占性操作的分布式协调锁机制。这方面,我们使用 Zookeeper/Etcd 等实现配置的同步,状态变更的通知,以及分布式锁来控制排他性操作。 同时,由于治理功能本身可以采用合适的第三方组件作为基础服务,需要我们抽象统一的接口,统一各 种不同的组件的标准调用 最后对于可管理性和可观测性的要求,我们需要完善通过 UI 查询、操作和控制系统的功能,进一步完善 对于 tracing 和 APM 的支持。 4.5.3 目标 对于治理功能,目标如下: • 支持 Zookeeper/etcd,管理数据源、规则和策略的配置,管理各个 Proxy 实例的状态。 对于可观测性,目标如下: • 支持 OpenTracing/Skywalking 集成,实现调用链的跟踪; 40 码力 | 385 页 | 4.26 MB | 1 年前3Apache ShardingSphere 5.0.0 Document
computing nodes. It is necessary to provide registry center for distributed coordination, such as ZooKeeper or Etcd. 3.3 DistSQL 3.3.1 Background DistSQL(Distributed SQL)is Apache ShardingSphere specific coordination lock mechanisms for exclusive operations in distributed situations. In this regard, we use Zookeeper/Etcd to achieve configuration synchronization, notification of state changes and distributed locks tracing and APM. 4.5.3 Goal For the governance function, the goals are as follows: • support Zookeeper/etcd, manage the configuration of data sources, rules and policies, manage the status of each Proxy0 码力 | 403 页 | 3.15 MB | 1 年前3Apache ShardingSphere 5.2.1 Document
for production environment. 2. The ZooKeeper registry center is recommended for cluster mode deployment. 3. If there is configuration information in the ZooKeeper, please refer to the config information repository: type: ZooKeeper props: namespace: governance server-lists: localhost:2181 retryIntervalMilliseconds: 500 timeToLiveSeconds: 60 Related References • Installation and Usage of ZooKeeper Registry for production environment. 2. The ZooKeeper registry center is recommended for cluster mode deployment. 3. If there is configuration information in the ZooKeeper, please refer to the config information0 码力 | 523 页 | 4.51 MB | 1 年前3Apache ShardingSphere 5.2.0 Document
configuration Notes 1. Cluster mode deployment is recommended for production environment. 2. The ‘ZooKeeper’registry center is recommended for cluster mode deployment. Sample Standalone Mode mode: type: ShardingSphere document, v5.2.0 Cluster Mode (recommended) mode: type: Cluster repository: type: ZooKeeper props: namespace: governance server-lists: localhost:2181 retryIntervalMilliseconds: 500 timeToLiveSeconds: timeToLiveSeconds: 60 overwrite: false Related References • Installation and Usage of ZooKeeper Registry Center • Please refer to Builtin Persist Repository List for more details about the type of repository0 码力 | 483 页 | 4.27 MB | 1 年前3Apache ShardingSphere 5.4.1 Document
for production environment. 2. The ZooKeeper registry center is recommended for cluster mode deployment. 3. If there is configuration information in the ZooKeeper, please refer to the config information Apache ShardingSphere document Cluster Mode (recommended) mode: type: Cluster repository: type: ZooKeeper props: namespace: governance server-lists: localhost:2181 retryIntervalMilliseconds: 500 timeToLiveSeconds: here-cluster-mode-repository-zookeeper${shardingsphere.version} Related References • Installation and Usage of ZooKeeper Registry Center • Please refer0 码力 | 572 页 | 3.73 MB | 1 年前3Apache ShardingSphere 中文文档 5.2.0
生产环境建议使用集群模式部署。 2. 集群模式部署推荐使用 ZooKeeper 注册中心。 配置示例 单机模式 mode: type: Standalone repository: type: File overwrite: false 集群模式 (推荐) mode: type: Cluster repository: type: ZooKeeper props: namespace: governance overwrite: false 4.1. ShardingSphere-JDBC 52 Apache ShardingSphere document, v5.2.0 相关参考 • ZooKeeper 注册中心安装与使用 • 持久化仓库类型的详情,请参见内置持久化仓库类型列表。 数据源配置 背景信息 ShardingSphere‐JDBC 支持所有的数据库 JDBC 驱动和连接池。 server‐lists String 注册中心连接地址 props Properties 持久化仓库所需属性 注意事项 1. 生产环境建议使用集群模式部署。 2. 集群模式部署推荐使用 ZooKeeper 注册中心。 操作步骤 引入 Maven 依赖。org.apache.shardingsphere 0 码力 | 449 页 | 5.85 MB | 1 年前3Apache ShardingSphere v5.5.0 document
for production environment. 2. The ZooKeeper registry center is recommended for cluster mode deployment. 3. If there is configuration information in the ZooKeeper, please refer to the config information Apache ShardingSphere document Cluster Mode (recommended) mode: type: Cluster repository: type: ZooKeeper props: namespace: governance server-lists: localhost:2181 retryIntervalMilliseconds: 500 timeToLiveSeconds: here-cluster-mode-repository-zookeeper${shardingsphere.version} Related References • Installation and Usage of ZooKeeper Registry Center • Please refer0 码力 | 602 页 | 3.85 MB | 1 年前3Apache ShardingSphere 中文文档 5.4.1
集群模式部署推荐使用 ZooKeeper 注册中心。 3. ZooKeeper 存在配置信息时,则以 ZooKeeper 中的配置为准。 配置示例 单机模式 mode: type: Standalone repository: type: JDBC 集群模式 (推荐) mode: type: Cluster repository: type: ZooKeeper props:shardingsphere-cluster-mode-repository-zookeeper ${shardingsphere.version} 相关参考 • ZooKeeper 注册中心安装与使用 • 持久化仓库类型的详情,请参见内置持久化仓库类型列表。 • 持久化仓库 注册中心连接地址 props Properties 持久化仓库所需属性 注意事项 1. 生产环境建议使用集群模式部署。 2. 集群模式部署推荐使用 ZooKeeper 注册中心。 3. ZooKeeper 存在配置信息时,则以 ZooKeeper 中的配置为准。 操作步骤 引入 Maven 依赖。org.apache.shardingsphere 0 码力 | 530 页 | 4.49 MB | 1 年前3Apache ShardingSphere 中文文档 5.3.2
集群模式部署推荐使用 ZooKeeper 注册中心。 3. ZooKeeper 存在配置信息时,则以 ZooKeeper 中的配置为准。 配置示例 单机模式 mode: type: Standalone repository: type: JDBC 集群模式 (推荐) mode: type: Cluster repository: type: ZooKeeper props:shardingsphere-cluster-mode-repository-zookeeper ${shardingsphere.version} 相关参考 • ZooKeeper 注册中心安装与使用 • 持久化仓库类型的详情,请参见内置持久化仓库类型列表。 • 持久化仓库 注册中心连接地址 props Properties 持久化仓库所需属性 注意事项 1. 生产环境建议使用集群模式部署。 2. 集群模式部署推荐使用 ZooKeeper 注册中心。 3. ZooKeeper 存在配置信息时,则以 ZooKeeper 中的配置为准。 操作步骤 引入 Maven 依赖。org.apache.shardingsphere 0 码力 | 508 页 | 4.44 MB | 1 年前3Apache ShardingSphere v5.5.0 中文文档
集群模式部署推荐使用 ZooKeeper 注册中心。 3. ZooKeeper 存在配置信息时,则以 ZooKeeper 中的配置为准。 配置示例 单机模式 mode: type: Standalone repository: type: JDBC 集群模式 (推荐) mode: type: Cluster repository: type: ZooKeeper props:shardingsphere-cluster-mode-repository-zookeeper ${shardingsphere.version} 相关参考 • ZooKeeper 注册中心安装与使用 • 持久化仓库类型的详情,请参见内置持久化仓库类型列表。 • 持久化仓库 注册中心连接地址 props Properties 持久化仓库所需属性 注意事项 1. 生产环境建议使用集群模式部署。 2. 集群模式部署推荐使用 ZooKeeper 注册中心。 3. ZooKeeper 存在配置信息时,则以 ZooKeeper 中的配置为准。 操作步骤 引入 Maven 依赖。org.apache.shardingsphere 0 码力 | 557 页 | 4.61 MB | 1 年前3
共 87 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9