spring-boot-sharding-sphere:SpringBoot + ShardingSphere 实现读写分离 分库分表

时间:2021-07-24 02:22:19
【文件属性】:
文件名称:spring-boot-sharding-sphere:SpringBoot + ShardingSphere 实现读写分离 分库分表
文件大小:67KB
文件格式:ZIP
更新时间:2021-07-24 02:22:19
Java ShardingSphere实现分库 + 读写分离 有关ShardingSphere实现分库分表前面写了7篇博客作为该项目做详细说明。 1、 2、 3、 4、 5、 6、 7、 该项目拉下后配置数据库地址,和创建相应的库和表后就可以运行成功。 一、项目概述 1、技术架构 项目总体技术选型 SpringBoot2.0.6 + shardingsphere4.0.0-RC1 + Maven3.5.4 + MySQL + lombok(插件) 2、项目说明 场景 在实际开发中,如果数据库压力大我们可以通过 分库分表 的基础上进行 读写分离,来减缓数据库压力。 3、项目整体结构 spring-boot-sharding-ssphere # 父工程 | #实现读写分离功能 ---db-read-write | #实现分表功能 ---sub-table | #实现分
【文件预览】:
spring-boot-sharding-sphere-master
----sub-table-read-write()
--------src()
--------README.md(5KB)
--------pom.xml(548B)
----sub-db-table()
--------src()
--------README.md(5KB)
--------pom.xml(540B)
----sub-db-table-read-write()
--------src()
--------README.md(7KB)
--------pom.xml(551B)
----README.md(2KB)
----pom.xml(3KB)
----sub-table()
--------src()
--------README.md(4KB)
--------pom.xml(537B)
----.gitignore(405B)
----db-read-write()
--------src()
--------README.md(6KB)
--------pom.xml(540B)

网友评论