Back To Basics: The Rule of Five
Agenda ● Background ● Core Guidelines ● What is the Rule of Five ● Compiler provided functions ● What is the Rule of Zero 3Copyright © 2023 Andre Kostur C++ is a net> C++ Core Guidelines 6Copyright © 2023 Andre Kostur Guideline C.21 is “The Rule of Five” 7Copyright © 2023 Andre Kostur Simple String 8Copyright © 2023 Andre nullptr; return *this; } // … char * data_; }; 19Copyright © 2023 Andre Kostur The Rule of Five C.21: “If you define or =delete any copy, move, or destructor function, define or =delete 0 码力 | 42 页 | 623.10 KB | 5 月前3Apache ShardingSphere 5.4.1 Document
. . . . . . . . . . . . . . . . . . . . . . . . . 467 11.6.1 SysBench ShardingSphere‐Proxy Empty Rule Performance Test . . . . . . . . . 467 Objectives . . . . . . . . . . . . . . . . . . . . . . . ShardingSphere‐Proxy. ShardingSphere‐Proxy is available at: ‐ Binary Distribution ‐ Docker ‐ Helm 2. Rule configuration. Edit %SHARDINGSPHERE_PROXY_HOME%/conf/server.yaml. Edit %SHARDINGSPHERE_PROXY_HOME%/conf/config-xxx the configuration uniformly. But by writing the sharding algorithm through line expressions, the rule con‐ figuration can be effectively stored together, which is easier to browse and store. A Row Value0 码力 | 572 页 | 3.73 MB | 1 年前3Apache ShardingSphere v5.5.0 document
. . . . . . . . . . . . . . . . . . . . . . . . . 496 11.6.1 SysBench ShardingSphere‐Proxy Empty Rule Performance Test . . . . . . . . . 496 Objectives . . . . . . . . . . . . . . . . . . . . . . . ShardingSphere‐Proxy. ShardingSphere‐Proxy is available at: ‐ Binary Distribution ‐ Docker ‐ Helm 2. Rule configuration. Edit %SHARDINGSPHERE_PROXY_HOME%/conf/global.yaml. Edit %SHARDINGSPHERE_PROXY_HO the configuration uniformly. But by writing the sharding algorithm through line expressions, the rule con‐ figuration can be effectively stored together, which is easier to browse and store. A Row Value0 码力 | 602 页 | 3.85 MB | 1 年前3Apache ShardingSphere 5.2.0 Document
. . . . . . . . . . . . . . . . . . . . . . . . . 331 6.6.1 SysBench ShardingSphere‐Proxy Empty Rule Performance Test . . . . . . . . . 331 Objectives . . . . . . . . . . . . . . . . . . . . . . . ShardingSphere‐Proxy. ShardingSphere‐Proxy is available at: ‐ Binary Distribution ‐ Docker ‐ Helm 2. Rule configuration. Edit %SHARDINGSPHERE_PROXY_HOME%/conf/server.yaml. Edit %SHARDINGSPHERE_PROXY_HOME%/conf/config-xxx the configuration uniformly. But by writing the sharding algorithm through line expressions, the rule con‐ figuration can be effectively stored together, which is easier to browse and store. Row expressions0 码力 | 483 页 | 4.27 MB | 1 年前3Apache ShardingSphere 5.2.1 Document
. . . . . . . . . . . . . . . . . . . . . . . . . 358 6.6.1 SysBench ShardingSphere‐Proxy Empty Rule Performance Test . . . . . . . . . 358 Objectives . . . . . . . . . . . . . . . . . . . . . . . ShardingSphere‐Proxy. ShardingSphere‐Proxy is available at: ‐ Binary Distribution ‐ Docker ‐ Helm 2. Rule configuration. Edit %SHARDINGSPHERE_PROXY_HOME%/conf/server.yaml. Edit %SHARDINGSPHERE_PROXY_HOME%/conf/config-xxx the configuration uniformly. But by writing the sharding algorithm through line expressions, the rule con‐ figuration can be effectively stored together, which is easier to browse and store. Row expressions0 码力 | 523 页 | 4.51 MB | 1 年前3Apache ShardingSphere 5.1.2 Document
2.2.1 Get ShardingSphere‐Proxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.2.2 Rule Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.2.3 Import Dependencies Overall Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290 Encryption Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290 Encryption Process . Overall Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301 7.6.2 Shadow Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302 7.6.3 Routing Process0 码力 | 503 页 | 3.66 MB | 1 年前3Apache ShardingSphere 5.1.1 Document
ShardingSphere‐Proxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.2.1 Rule Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.2.2 Import Dependencies ShardingSphere‐Scaling (Experimental) . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.3.1 Rule Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.3.2 Import Dependencies Overall Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279 Encryption Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279 Encryption Process .0 码力 | 458 页 | 3.43 MB | 1 年前3Apache ShardingSphere 5.0.0 Document
ShardingSphere‐Proxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.2.1 1. Rule Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.2.2 2. Import Dependencies ShardingSphere‐Scaling (Experimental) . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.3.1 1. Rule Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.3.2 2. Import Dependencies Overall Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269 Encryption Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269 Encryption Process .0 码力 | 403 页 | 3.15 MB | 1 年前3Apache ShardingSphere 中文文档 5.4.1
AlgorithmConfiguration> 从库负载均衡算法配 置 主从数据源配置 类名称:org.apache.shardingsphere.readwritesplitting.api.rule.ReadwriteSplittingDataSourceRuleConfiguration 可配置属性: 算法类型的详情,请参见内置负载均衡算法列表。 操作步骤 1. 添加读写分离数据源 Map加解密算法名称和配置 加密表规则配置 类名称:org.apache.shardingsphere.encrypt.api.config.rule.EncryptTableRuleConfiguration 可配置属性: 名称 数据类型 说明 name String 表名称 columns (+) Collection 加密列规则配置列表 加密列规则配置 类名称:org.apache.shardingsphere.encrypt.api.config.rule.EncryptColumnRuleConfiguration 可配置属性: 名称 数据类型 说明 name String 逻辑列名称 cipher EncryptColumnItemRuleConfiguration 0 码力 | 530 页 | 4.49 MB | 1 年前3Apache ShardingSphere 中文文档 5.3.2
AlgorithmConfiguration> 从库负载均衡算法配 置 主从数据源配置 类名称:org.apache.shardingsphere.readwritesplitting.api.rule.ReadwriteSplittingDataSourceRuleConfiguration 可配置属性: 算法类型的详情,请参见内置负载均衡算法列表。 操作步骤 1. 添加读写分离数据源 Map加解密算法名称和配置 加密表规则配置 类名称:org.apache.shardingsphere.encrypt.api.config.rule.EncryptTableRuleConfiguration 可配置属性: 名称 数据类型 说明 name String 表名称 columns (+) Collection 加密列规则配置列表 加密列规则配置 类名称:org.apache.shardingsphere.encrypt.api.config.rule.EncryptColumnRuleConfiguration 可配置属性: 名称 数据类型 说明 name String 逻辑列名称 cipher EncryptColumnItemRuleConfiguration 0 码力 | 508 页 | 4.44 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100