Skip to content

Commit 626d763

Browse files
committed
docs: 更新文档
1 parent 48bdd8d commit 626d763

File tree

10 files changed

+75
-48
lines changed

10 files changed

+75
-48
lines changed

README.md

Lines changed: 59 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,19 @@
8282

8383
> [HBase](https://dunwu.github.io/bigdata-tutorial/hbase) 📚 因为常用于大数据项目,所以将其文档和源码整理在 [bigdata-tutorial](https://dunwu.github.io/bigdata-tutorial/) 项目中。
8484
85-
- [HBase 应用指南](https://github.com/dunwu/bigdata-tutorial/blob/master/docs/hbase/hbase-quickstart.md)
86-
- [HBase 命令](https://github.com/dunwu/bigdata-tutorial/blob/master/docs/hbase/hbase-cli.md)
87-
- [HBase Java API](https://github.com/dunwu/bigdata-tutorial/blob/master/docs/hbase/hbase-api.md)
88-
- [HBase 配置](https://github.com/dunwu/bigdata-tutorial/blob/master/docs/hbase/hbase-ops.md)
85+
- [HBase 原理](https://github.com/dunwu/bigdata-tutorial/blob/master/docs/hbase/HBase原理.md)
86+
- [HBase 命令](https://github.com/dunwu/bigdata-tutorial/blob/master/docs/hbase/HBase命令.md)
87+
- [HBase 应用](https://github.com/dunwu/bigdata-tutorial/blob/master/docs/hbase/HBase应用.md)
88+
- [HBase 运维](https://github.com/dunwu/bigdata-tutorial/blob/master/docs/hbase/HBase运维.md)
8989

9090
#### [MongoDB](docs/nosql/mongodb) 📚
9191

92+
> MongoDB 是一个基于文档的分布式数据库,由 C++ 语言编写。旨在为 WEB 应用提供可扩展的高性能数据存储解决方案。
93+
>
94+
> MongoDB 是一个介于关系型数据库和非关系型数据库之间的产品。它是非关系数据库当中功能最丰富,最像关系数据库的。它支持的数据结构非常松散,是类似 json 的 bson 格式,因此可以存储比较复杂的数据类型。
95+
>
96+
> MongoDB 最大的特点是它支持的查询语言非常强大,其语法有点类似于面向对象的查询语言,几乎可以实现类似关系数据库单表查询的绝大部分功能,而且还支持对数据建立索引。
97+
9298
- [MongoDB 应用指南](docs/nosql/mongodb/mongodb-quickstart.md)
9399
- [MongoDB 聚合操作](docs/nosql/mongodb/mongodb-aggregation.md)
94100
- [MongoDB 建模](docs/nosql/mongodb/mongodb-model.md)
@@ -105,38 +111,55 @@
105111

106112
## 📚 资料
107113

108-
- **Mysql**
109-
- **官方**
110-
- [Mysql 官网](https://www.mysql.com/)
111-
- [Mysql 官方文档](https://dev.mysql.com/doc/refman/8.0/en/)
112-
- [Mysql 官方文档之命令行客户端](https://dev.mysql.com/doc/refman/8.0/en/mysql.html)
113-
- **书籍**
114-
- [《高性能 MySQL》](https://book.douban.com/subject/23008813/) - 经典,适合 DBA 或作为开发者的参考手册
115-
- [《MySQL 必知必会》](https://book.douban.com/subject/3354490/) - 适合入门者
116-
- **教程**
117-
- [runoob.com MySQL 教程](http://www.runoob.com/mysql/mysql-tutorial.html) - 入门级 SQL 教程
118-
- [mysql-tutorial](https://github.com/jaywcjlove/mysql-tutorial)
119-
- **更多资源**
120-
- [awesome-mysql](https://github.com/jobbole/awesome-mysql-cn)
121-
- **Redis**
122-
- **官网**
123-
- [Redis 官网](https://redis.io/)
124-
- [Redis github](https://github.com/antirez/redis)
125-
- [Redis 官方文档中文版](http://redis.cn/)
126-
- [Redis 命令参考](http://redisdoc.com/)
127-
- **书籍**
128-
- [《Redis 实战》](https://item.jd.com/11791607.html)
129-
- [《Redis 设计与实现》](https://item.jd.com/11486101.html)
130-
- **源码**
131-
- [《Redis 实战》配套 Python 源码](https://github.com/josiahcarlson/redis-in-action)
132-
- **资源汇总**
133-
- [awesome-redis](https://github.com/JamzyWang/awesome-redis)
134-
- **Redis Client**
135-
- [spring-data-redis 官方文档](https://docs.spring.io/spring-data/redis/docs/1.8.13.RELEASE/reference/html/)
136-
- [redisson 官方文档(中文,略有滞后)](https://github.com/redisson/redisson/wiki/%E7%9B%AE%E5%BD%95)
137-
- [redisson 官方文档(英文)](https://github.com/redisson/redisson/wiki/Table-of-Content)
138-
- [CRUG | Redisson PRO vs. Jedis: Which Is Faster? 翻译](https://www.jianshu.com/p/82f0d5abb002)
139-
- [redis 分布锁 Redisson 性能测试](https://blog.csdn.net/everlasting_188/article/details/51073505)
114+
### Mysql 资料
115+
116+
- **官方**
117+
- [Mysql 官网](https://www.mysql.com/)
118+
- [Mysql 官方文档](https://dev.mysql.com/doc/refman/8.0/en/)
119+
- [Mysql 官方文档之命令行客户端](https://dev.mysql.com/doc/refman/8.0/en/mysql.html)
120+
- **书籍**
121+
- [《高性能 MySQL》](https://book.douban.com/subject/23008813/) - 经典,适合 DBA 或作为开发者的参考手册
122+
- [《MySQL 必知必会》](https://book.douban.com/subject/3354490/) - 适合入门者
123+
- **教程**
124+
- [runoob.com MySQL 教程](http://www.runoob.com/mysql/mysql-tutorial.html) - 入门级 SQL 教程
125+
- [mysql-tutorial](https://github.com/jaywcjlove/mysql-tutorial)
126+
- **更多资源**
127+
- [awesome-mysql](https://github.com/jobbole/awesome-mysql-cn)
128+
129+
### Redis 资料
130+
131+
- **官网**
132+
- [Redis 官网](https://redis.io/)
133+
- [Redis github](https://github.com/antirez/redis)
134+
- [Redis 官方文档中文版](http://redis.cn/)
135+
- [Redis 命令参考](http://redisdoc.com/)
136+
- **书籍**
137+
- [《Redis 实战》](https://item.jd.com/11791607.html)
138+
- [《Redis 设计与实现》](https://item.jd.com/11486101.html)
139+
- **源码**
140+
- [《Redis 实战》配套 Python 源码](https://github.com/josiahcarlson/redis-in-action)
141+
- **资源汇总**
142+
- [awesome-redis](https://github.com/JamzyWang/awesome-redis)
143+
- **Redis Client**
144+
- [spring-data-redis 官方文档](https://docs.spring.io/spring-data/redis/docs/1.8.13.RELEASE/reference/html/)
145+
- [redisson 官方文档(中文,略有滞后)](https://github.com/redisson/redisson/wiki/%E7%9B%AE%E5%BD%95)
146+
- [redisson 官方文档(英文)](https://github.com/redisson/redisson/wiki/Table-of-Content)
147+
- [CRUG | Redisson PRO vs. Jedis: Which Is Faster? 翻译](https://www.jianshu.com/p/82f0d5abb002)
148+
- [redis 分布锁 Redisson 性能测试](https://blog.csdn.net/everlasting_188/article/details/51073505)
149+
150+
### MongoDB 资料
151+
152+
- **官方**
153+
- [MongoDB 官网](https://www.mongodb.com/)
154+
- [MongoDB Github](https://github.com/mongodb/mongo)
155+
- [MongoDB 官方免费教程](https://university.mongodb.com/)
156+
- **教程**
157+
- [MongoDB 教程](https://www.runoob.com/mongodb/mongodb-tutorial.html)
158+
- [MongoDB 高手课](https://time.geekbang.org/course/intro/100040001)
159+
- **数据**
160+
- [mongodb-json-files](https://github.com/ozlerhakan/mongodb-json-files)
161+
- **文章**
162+
- [Introduction to MongoDB](https://www.slideshare.net/mdirolf/introduction-to-mongodb)
140163

141164
## 🚪 传送
142165

31 KB
Binary file not shown.
File renamed without changes.

docs/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ footer: CC-BY-SA-4.0 Licensed | Copyright © 2018-Now Dunwu
8181

8282
> [HBase](https://dunwu.github.io/bigdata-tutorial/hbase) 📚 因为常用于大数据项目,所以将其文档和源码整理在 [bigdata-tutorial](https://dunwu.github.io/bigdata-tutorial/) 项目中。
8383
84-
- [HBase 应用指南](https://github.com/dunwu/bigdata-tutorial/blob/master/docs/hbase/hbase-quickstart.md)
85-
- [HBase 命令](https://github.com/dunwu/bigdata-tutorial/blob/master/docs/hbase/hbase-cli.md)
86-
- [HBase Java API](https://github.com/dunwu/bigdata-tutorial/blob/master/docs/hbase/hbase-api.md)
87-
- [HBase 配置](https://github.com/dunwu/bigdata-tutorial/blob/master/docs/hbase/hbase-ops.md)
84+
- [HBase 原理](https://github.com/dunwu/bigdata-tutorial/blob/master/docs/hbase/HBase原理.md)
85+
- [HBase 命令](https://github.com/dunwu/bigdata-tutorial/blob/master/docs/hbase/HBase命令.md)
86+
- [HBase 应用](https://github.com/dunwu/bigdata-tutorial/blob/master/docs/hbase/HBase应用.md)
87+
- [HBase 运维](https://github.com/dunwu/bigdata-tutorial/blob/master/docs/hbase/HBase运维.md)
8888

8989
#### MongoDB
9090

docs/nosql/elasticsearch/elasticsearch-quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,14 @@ Document 使用 JSON 格式表示,下面是一个例子。
100100
- 实际的 node 上的 `primary shard` 处理请求,然后将数据同步到 `replica node`
101101
- `coordinating node` 如果发现 `primary node` 和所有 `replica node` 都搞定之后,就返回响应结果给客户端。
102102

103-
[![es-write](https://github.com/doocs/advanced-java/raw/master/docs/high-concurrency/images/es-write.png)](https://github.com/doocs/advanced-java/blob/master/docs/high-concurrency/images/es-write.png)
103+
![](https://raw.githubusercontent.com/dunwu/images/dev/snap/20210712104055.png)
104104

105105
### ES 读数据过程
106106

107107
可以通过 `doc id` 来查询,会根据 `doc id` 进行 hash,判断出来当时把 `doc id` 分配到了哪个 shard 上面去,从那个 shard 去查询。
108108

109109
- 客户端发送请求到**任意**一个 node,成为 `coordinate node`
110-
- `coordinate node``doc id` 进行哈希路由,将请求转发到对应的 node,此时会使用 `round-robin` **随机轮询算法**,在 `primary shard` 以及其所有 replica 中随机选择一个,让读请求负载均衡。
110+
- `coordinate node``doc id` 进行哈希路由,将请求转发到对应的 node,此时会使用 `round-robin` **轮询算法**,在 `primary shard` 以及其所有 replica 中随机选择一个,让读请求负载均衡。
111111
- 接收请求的 node 返回 document 给 `coordinate node`
112112
- `coordinate node` 返回 document 给客户端。
113113

docs/nosql/hbase.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ HBase 适用场景:实时地随机访问超大数据集。
3030

3131
## 基础
3232

33-
[HBase 维护](hbase-ops.md)
33+
[HBase 维护](HBase运维.md)
3434

3535
## 原理
3636

@@ -113,20 +113,20 @@ HBase 使用 ZooKeeper 作为分布式协调服务来维护集群中的服务器
113113

114114
## API
115115

116-
Java API 归纳总结在这里:[Hbase Java API](hbase-api-java.md)
116+
Java API 归纳总结在这里:[HBase 应用](hbase-api-java.md)
117117

118118
## 附录
119119

120120
### 命令行
121121

122-
HBase 命令行可以参考这里:[HBase 命令行](hbase-cli.md)
122+
HBase 命令行可以参考这里:[HBase 命令行](HBase命令.md)
123123

124124
## 更多内容
125125

126126
### 扩展阅读
127127

128-
- [HBase 命令](hbase-cli.md)
129-
- [HBase 配置](hbase-ops.md)
128+
- [HBase 命令](HBase命令.md)
129+
- [HBase 运维](HBase运维.md)
130130

131131
### 参考资料
132132

docs/nosql/mongodb/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
- [MongoDB 高手课](https://time.geekbang.org/course/intro/100040001)
3838
- **数据**
3939
- [mongodb-json-files](https://github.com/ozlerhakan/mongodb-json-files)
40+
- **文章**
41+
- [Introduction to MongoDB](https://www.slideshare.net/mdirolf/introduction-to-mongodb)
4042

4143
## 🚪 传送
4244

docs/nosql/redis/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
- **教程**
7171
- [Redis 命令参考](http://redisdoc.com/)
7272
- **文章**
73+
- [Introduction to Redis](https://www.slideshare.net/dvirsky/introduction-to-redis)
7374
- [《我们一起进大厂》系列- Redis 基础](https://juejin.im/post/5db66ed9e51d452a2f15d833)
7475
- **源码**
7576
- [《Redis 实战》配套 Python 源码](https://github.com/josiahcarlson/redis-in-action)

docs/sql/common/sql-cheat-sheet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ WHERE prod_name LIKE '__ inch teddy bear';
371371
`JOIN` 有两种连接类型:内连接和外连接。
372372

373373
<div align="center">
374-
<img src="https://raw.githubusercontent.com/dunwu/images/dev/cs/database/mysql/sql-join.png!zp" alt="sql-join">
374+
<img src="https://raw.githubusercontent.com/dunwu/images/dev/cs/database/mysql/sql-join.png" alt="sql-join">
375375
</div>
376376

377377
#### 内连接(INNER JOIN)

scripts/deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ cd ${ROOT_DIR}/docs
1616

1717
# 生成静态文件
1818
npm install
19+
npm audit fix
1920
npm run build
2021

2122
# 进入生成的文件夹

0 commit comments

Comments
 (0)