Skip to content

Commit

Permalink
[docs update]更改部分文章的文末内容
Browse files Browse the repository at this point in the history
  • Loading branch information
Snailclimb committed Aug 7, 2023
1 parent 2004f24 commit 20255f0
Show file tree
Hide file tree
Showing 217 changed files with 431 additions and 8 deletions.
2 changes: 2 additions & 0 deletions docs/cs-basics/algorithms/10-classical-sorting-algorithms.md
Original file line number Diff line number Diff line change
Expand Up @@ -737,3 +737,5 @@ public static int[] radixSort(int[] arr) {
- <https://www.cnblogs.com/guoyaohua/p/8600214.html>
- <https://en.wikipedia.org/wiki/Sorting_algorithm>
- <https://sort.hust.cc/>

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/algorithms/linkedlist-algorithm-problems.md
Original file line number Diff line number Diff line change
Expand Up @@ -383,3 +383,5 @@ public class Solution {
}
}
```

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/algorithms/string-algorithm-problems.md
Original file line number Diff line number Diff line change
Expand Up @@ -459,3 +459,5 @@ public class Main {
}

```

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/algorithms/the-sword-refers-to-offer.md
Original file line number Diff line number Diff line change
Expand Up @@ -680,3 +680,5 @@ public class Solution {
}
}
```

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/data-structure/bloom-filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,3 +306,5 @@ root@21396d02c252:/data# redis-cli
127.0.0.1:6379> BF.EXISTS myFilter github
(integer) 0
```

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/data-structure/graph.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,5 @@ tag:
**第 6 步:**

![深度优先搜索6](https://oss.javaguide.cn/github/javaguide/cs-basics/data-structure/depth-first-search6.png)

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/data-structure/heap.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,3 +198,5 @@ tag:
![堆排序6](./pictures/堆/堆排序6.png)

堆排序完成!

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/data-structure/linear-data-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,3 +327,5 @@ myStack.pop();//报错:java.lang.IllegalArgumentException: Stack is empty.
- 现实生活中的派对,播放器上的播放列表;
- 消息队列
- 等等......

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/data-structure/red-black-tree.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ tag:
**为什么要用红黑树?** 简单来说红黑树就是为了解决二叉查找树的缺陷,因为二叉查找树在某些情况下会退化成一个线性结构。详细了解可以查看 [漫画:什么是红黑树?](https://juejin.im/post/5a27c6946fb9a04509096248#comment)(也介绍到了二叉查找树,非常推荐)

**相关阅读**[《红黑树深入剖析及 Java 实现》](https://zhuanlan.zhihu.com/p/24367771)(美团点评技术团队)

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/data-structure/tree.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,3 +181,5 @@ public void postOrder(TreeNode root){
system.out.println(root.data);
}
```

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/network/application-layer-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,5 @@ DNS(Domain Name System,域名管理系统)基于 UDP 协议,用于解决

- 《计算机网络自顶向下方法》(第七版)
- RTP 协议介绍:https://mthli.xyz/rtp-introduction/

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/network/arp.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,5 @@ ARP 的工作原理将分两种场景讨论:
7. 路由器接口将对 IP 数据报重新封装成链路层帧,目标 MAC 地址为主机 B 的 MAC 地址,单播发送,直到目的地。

![](./images/arp/arp_different_lan.png)

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/network/computer-network-xiexiren-summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,3 +317,5 @@ HTTP 协议的本质就是一种浏览器与服务器之间约定好的通信格
2. 域名系统-从域名解析出 IP 地址
3. 访问一个网站大致的过程
4. 系统调用和应用编程接口概念

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/network/dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,5 @@ foo.example.com. A 192.0.2.23
- DNS 服务器类型:https://www.cloudflare.com/zh-cn/learning/dns/dns-server-types/
- DNS Message Resource Record Field Formats:http://www.tcpipguide.com/free/t_DNSMessageResourceRecordFieldFormats-2.htm
- Understanding Different Types of Record in DNS Server:https://www.mustbegeek.com/understanding-different-types-of-record-in-dns-server/

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/network/http-status-codes.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,5 @@ HTTP 状态码用于描述 HTTP 请求的结果,比如 2xx 就代表请求被
- https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Status
- https://en.wikipedia.org/wiki/List_of_HTTP_status_codes
- https://segmentfault.com/a/1190000018264501

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/network/http-vs-https.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,5 @@ SSL/TLS 介绍到这里,了解信息安全的朋友又会想到一个安全隐
- **端口号**:HTTP 默认是 80,HTTPS 默认是 443。
- **URL 前缀**:HTTP 的 URL 前缀是 `http://`,HTTPS 的 URL 前缀是 `https://`
- **安全性和资源消耗**:HTTP 协议运行在 TCP 之上,所有传输的内容都是明文,客户端和服务器端都无法验证对方的身份。HTTPS 是运行在 SSL/TLS 之上的 HTTP 协议,SSL/TLS 运行在 TCP 之上。所有传输的内容都经过加密,加密采用对称加密,但对称加密的密钥用服务器方的证书进行了非对称加密。所以说,HTTP 安全性没有 HTTPS 高,但是 HTTPS 比 HTTP 耗费更多服务器资源。

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/network/http1.0-vs-http1.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,5 @@ HTTP/1.0 包含了`Content-Encoding`头部,对消息进行端到端编码。HT
## 参考资料

[Key differences between HTTP/1.0 and HTTP/1.1](http://www.ra.ethz.ch/cdstore/www8/data/2136/pdf/pd1.pdf)

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/network/nat.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,5 @@ SOHO 子网的“代理人”,也就是和外界的窗口,通常由路由器
4. LAN 主机对 WAN 不可见,不可直接寻址,可以保证一定程度的安全性。

然而,NAT 协议由于其独特性,存在着一些争议。比如,可能你已经注意到了,**NAT 协议在 LAN 以外,标识一个内部主机时,使用的是端口号,因为 IP 地址都是相同的。**这种将端口号作为主机寻址的行为,可能会引发一些误会。此外,路由器作为网络层的设备,修改了传输层的分组内容(修改了源 IP 地址和端口号),同样是不规范的行为。但是,尽管如此,NAT 协议作为 IPv4 时代的产物,极大地方便了一些本来棘手的问题,一直被沿用至今。

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/network/network-attack-means.md
Original file line number Diff line number Diff line change
Expand Up @@ -466,3 +466,5 @@ CDN 加速,我们可以这么理解:为了减少流氓骚扰,我干脆将
- SYN 洪水攻击:https://www.cloudflare.com/zh-cn/learning/ddos/syn-flood-ddos-attack/
- 什么是 IP 欺骗?:https://www.cloudflare.com/zh-cn/learning/ddos/glossary/ip-spoofing/
- 什么是 DNS 洪水?| DNS 洪水 DDoS 攻击:https://www.cloudflare.com/zh-cn/learning/ddos/dns-flood-ddos-attack/

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/network/osi-and-tcp-ip-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,3 +191,5 @@ OSI 七层模型虽然失败了,但是却提供了很多不错的理论基础

- TCP/IP model vs OSI model:https://fiberbit.com.tw/tcpip-model-vs-osi-model/
- Data Encapsulation and the TCP/IP Protocol Stack:https://docs.oracle.com/cd/E19683-01/806-4075/ipov-32/index.html

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/network/other-network-questions.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,3 +311,5 @@ DNS 服务器自底向上可以依次分为以下几个层级(所有 DNS 服务
- HTTP 请求头字段大全| HTTP Request Headers:<https://www.flysnow.org/tools/table/http-request-headers/>
- HTTP1、HTTP2、HTTP3:<https://juejin.cn/post/6855470356657307662>
- 如何看待 HTTP/3 ? - 车小胖的回答 - 知乎: <https://www.zhihu.com/question/302412059/answer/533223530>

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/network/other-network-questions2.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,3 +186,5 @@ ARP 协议,全称 **地址解析协议(Address Resolution Protocol)**,
- 《计算机网络自顶向下方法》(第七版)
- 什么是 Internet 协议(IP)?:<https://www.cloudflare.com/zh-cn/learning/network-layer/internet-protocol/>
- What Is NAT and What Are the Benefits of NAT Firewalls?:<https://community.fs.com/blog/what-is-nat-and-what-are-the-benefits-of-nat-firewalls.html>

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/network/tcp-connection-and-disconnection.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,5 @@ TCP 是全双工通信,可以双向传输数据。任何一方都可以在数
- 《图解 HTTP》

- TCP and UDP Tutorial:https://www.9tut.com/tcp-and-udp-tutorial

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/network/tcp-reliability-guarantee.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,5 @@ ARQ 包括停止等待 ARQ 协议和连续 ARQ 协议。
5. TCP Flow Control—[https://www.brianstorti.com/tcp-flow-control/](https://www.brianstorti.com/tcp-flow-control/)
6. TCP 流量控制(Flow Control):https://notfalse.net/24/tcp-flow-control
7. TCP 之滑动窗口原理 : https://cloud.tencent.com/developer/article/1857363

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/operating-system/linux-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -427,3 +427,5 @@ vim ~/.bash_profile
```bash
source /etc/profile
```

<!-- @include: @article-footer.snippet.md -->
Original file line number Diff line number Diff line change
Expand Up @@ -457,3 +457,5 @@ Thread[线程 2,5,main]waiting get resource1
- 操作系统为什么要分用户态和内核态:https://blog.csdn.net/chen134225/article/details/81783980
- 从根上理解用户态与内核态:https://juejin.cn/post/6923863670132850701
- 什么是僵尸进程与孤儿进程:https://blog.csdn.net/a745233700/article/details/120715371

<!-- @include: @article-footer.snippet.md -->
Original file line number Diff line number Diff line change
Expand Up @@ -409,3 +409,5 @@ LRU 算法是实际使用中应用的比较多,也被认为是最接近 OPT
- 为什么 Linux 需要虚拟内存:https://draveness.me/whys-the-design-os-virtual-memory/
- 程序员的自我修养(七):内存缺页错误:https://liam.page/2017/09/01/page-fault/
- 虚拟内存的那点事儿:https://juejin.cn/post/6844903507594575886

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/operating-system/shell-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -532,3 +532,5 @@ funWithParam 1 2 3 4 5 6 7 8 9 34 73
参数总数有 11 个!
作为一个字符串输出所有参数 1 2 3 4 5 6 7 8 9 34 73 !
```

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/basis.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,5 @@ Tips:你应该更多地关注在使用场景上,而不是执行效率。
- <https://blog.csdn.net/rl529014/article/details/48391465>
- <https://www.zhihu.com/question/24696366/answer/29189700>
- <https://blog.csdn.net/bieleyang/article/details/77149954>

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/character-set.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,3 +323,5 @@ Incorrect string value: '\xF0\x9F\x98\x98\xF0\x9F...' for column 'name' at row 1
- MySQL8 文档:<https://dev.mysql.com/doc/refman/8.0/en/charset.html>
- MySQL5.7 文档:<https://dev.mysql.com/doc/refman/5.7/en/charset.html>
- MySQL Connector/J 文档:<https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-reference-charsets.html>

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/elasticsearch/elasticsearch-questions-01.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ tag:
![](https://oss.javaguide.cn/javamianshizhibei/elasticsearch-questions.png)

<!-- @include: @planet.snippet.md -->

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/mongodb/mongodb-questions-01.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,3 +282,5 @@ WiredTiger 日志也会被压缩,默认使用的也是 Snappy 压缩算法。
- Transactions - MongoDB 官方文档:<https://www.mongodb.com/docs/manual/core/transactions/>
- WiredTiger Storage Engine - MongoDB 官方文档:<https://www.mongodb.com/docs/manual/core/wiredtiger/>
- WiredTiger 存储引擎之一:基础数据结构分析:<https://mongoing.com/topic/archives-35143>

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/mongodb/mongodb-questions-02.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,3 +271,5 @@ Rebalance 操作是比较耗费系统资源的,我们可以通过在业务低
- Sharding - MongoDB 官方文档:<https://www.mongodb.com/docs/manual/sharding/>
- MongoDB 分片集群介绍 - 阿里云文档:<https://help.aliyun.com/document_detail/64561.html>
- 分片集群使用注意事项 - - 腾讯云文档:<https://cloud.tencent.com/document/product/240/44611>

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/mysql/a-thousand-lines-of-mysql-study-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -953,3 +953,5 @@ OPTIMIZE [LOCAL | NO_WRITE_TO_BINLOG] TABLE tbl_name [, tbl_name] ...
6. SQL对大小写不敏感
7. 清除已有语句:\c
```

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/mysql/how-sql-executed-in-mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,5 @@ update tb_student A set A.age='19' where A.name=' 张三 ';

- 《MySQL 实战 45 讲》
- MySQL 5.6 参考手册:<https://dev.MySQL.com/doc/refman/5.6/en/>

<!-- @include: @article-footer.snippet.md -->
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,5 @@ INSERT INTO `test1` (`id`, `num1`, `num2`, `type1`, `type2`, `str1`, `str2`) VAL
4. 字符串转换为数值类型时,非数字开头的字符串会转化为`0`,以数字开头的字符串会截取从第一个字符到第一个非数字内容为止的值为转化结果。

所以,我们在写 SQL 时一定要养成良好的习惯,查询的字段是什么类型,等号右边的条件就写成对应的类型。特别当查询的字段是字符串时,等号右边的条件一定要用引号引起来标明这是一个字符串,否则会造成索引失效触发全表扫描。

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/mysql/innodb-implementation-of-mvcc.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,3 +255,5 @@ private:
- [Innodb 中的事务隔离级别和锁的关系](https://tech.meituan.com/2014/08/20/innodb-lock.html)
- [MySQL 事务与 MVCC 如何实现的隔离级别](https://blog.csdn.net/qq_35190492/article/details/109044141)
- [InnoDB 事务分析-MVCC](https://leviathan.vip/2019/03/20/InnoDB%E7%9A%84%E4%BA%8B%E5%8A%A1%E5%88%86%E6%9E%90-MVCC/)

<!-- @include: @article-footer.snippet.md -->
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,5 @@ tag:
2. 唯一键冲突
3. 事务回滚
4. 批量插入(如 `insert...select` 语句)

<!-- @include: @article-footer.snippet.md -->
Original file line number Diff line number Diff line change
Expand Up @@ -377,3 +377,5 @@ pt-online-schema-change 它会首先建立一个与原表结构相同的新表

- 程序使用数据库账号只能在一个 DB 下使用,不准跨库
- 程序使用的账号原则上不准有 drop 权限

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/mysql/mysql-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -445,3 +445,5 @@ mysql> EXPLAIN SELECT `score`,`name` FROM `cus_order` ORDER BY `score` DESC;
| Extra | 附加信息 |

篇幅问题,我这里只是简单介绍了一下 MySQL 执行计划,详细介绍请看:[MySQL 执行计划分析](./mysql-query-execution-plan.md)这篇文章。

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/mysql/mysql-logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,3 +328,5 @@ MySQL InnoDB 引擎使用 **redo log(重做日志)** 保证事务的**持久性*

- [CURD 这么多年,你有了解过 MySQL 的架构设计吗?](https://mp.weixin.qq.com/s/R-1km7r0z3oWfwYQV8iiqA)
- [浅谈 MySQL InnoDB 的内存组件](https://mp.weixin.qq.com/s/7Kab4IQsNcU_bZdbv_MuOg)

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/mysql/mysql-query-cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,3 +204,5 @@ MySQL 中的查询缓存虽然能够提升数据库的查询性能,但是查
- MySQL 缓存机制:<https://zhuanlan.zhihu.com/p/55947158>
- RDS MySQL 查询缓存(Query Cache)的设置和使用 - 阿里元云数据库 RDS 文档:<https://help.aliyun.com/document_detail/41717.html>
- 8.10.3 The MySQL Query Cache - MySQL 官方文档:<https://dev.mysql.com/doc/refman/5.7/en/query-cache.html>

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/mysql/mysql-query-execution-plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,5 @@ rows 列表示根据表统计信息及选用情况,大致估算出找到所需

- https://dev.mysql.com/doc/refman/5.7/en/explain-output.html
- https://juejin.cn/post/6953444668973514789

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/mysql/mysql-questions-01.md
Original file line number Diff line number Diff line change
Expand Up @@ -826,3 +826,5 @@ mysql> EXPLAIN SELECT `score`,`name` FROM `cus_order` ORDER BY `score` DESC;
- 详解 MySQL InnoDB 中意向锁的作用:<https://juejin.cn/post/6844903666332368909>
- 深入剖析 MySQL 自增锁:<https://juejin.cn/post/6968420054287253540>
- 在数据库中不可重复读和幻读到底应该怎么分?:<https://www.zhihu.com/question/392569386>

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/mysql/some-thoughts-on-database-storage-time.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,5 @@ MySQL 中时间到底怎么存储才好?Datetime?Timestamp?还是数值时间
| TIMESTAMP | 4~7字节 | YYYY-MM-DD hh:mm:ss[.fraction] | 1970-01-01 00:00:01[.000000] ~ 2038-01-19 03:14:07[.999999] ||
| 数值型时间戳 | 4字节 | 全数字如1578707612 | 1970-01-01 00:00:01之后的时间 ||


<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/mysql/transaction-isolation-level.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,5 @@ SQL 脚本 1 在第一次查询工资为 500 的记录时只有一条,SQL 脚
- <https://dev.MySQL.com/doc/refman/5.7/en/>
- [Mysql 锁:灵魂七拷问](https://tech.youzan.com/seven-questions-about-the-lock-of-MySQL/)
- [Innodb 中的事务隔离级别和锁的关系](https://tech.meituan.com/2014/08/20/innodb-lock.html)

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/nosql.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,5 @@ NoSQL 数据库主要可以分为下面四种类型:
- NoSQL 是什么?- MongoDB 官方文档:<https://www.mongodb.com/zh-cn/nosql-explained>
- 什么是 NoSQL? - AWS:<https://aws.amazon.com/cn/nosql/>
- NoSQL vs. SQL Databases - MongoDB 官方文档:<https://www.mongodb.com/zh-cn/nosql-explained/nosql-vs-sql>

<!-- @include: @article-footer.snippet.md -->
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,5 @@ Write Behind Pattern 和 Read/Write Through Pattern 很相似,两者都是由
这种策略在我们平时开发过程中也非常非常少见,但是不代表它的应用场景少,比如消息队列中消息的异步写入磁盘、MySQL 的 Innodb Buffer Pool 机制都用到了这种策略。

Write Behind Pattern 下 db 的写性能非常高,非常适合一些数据经常变化又对数据一致性要求没那么高的场景,比如浏览量、点赞量。

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/redis/cache-basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ tag:
![](https://oss.javaguide.cn/javamianshizhibei/database-questions.png)

<!-- @include: @planet.snippet.md -->

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/redis/redis-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ tag:
![](https://oss.javaguide.cn/github/javaguide/database/redis/redis-cluster-javamianshizhibei.png)

<!-- @include: @planet.snippet.md -->

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/redis/redis-common-blocking-problems-summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,5 @@ Redis 是典型的 CPU 密集型应用,不建议和其他多核 CPU 密集型

- Redis 阻塞的 6 大类场景分析与总结:https://mp.weixin.qq.com/s/eaZCEtTjTuEmXfUubVHjew
- Redis 开发与运维笔记-Redis 的噩梦-阻塞:https://mp.weixin.qq.com/s/TDbpz9oLH6ifVv6ewqgSgA

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/redis/redis-data-structures-01.md
Original file line number Diff line number Diff line change
Expand Up @@ -499,3 +499,5 @@ value1
- Redis Commands:<https://redis.io/commands/> 。
- Redis Data types tutorial:<https://redis.io/docs/manual/data-types/data-types-tutorial/> 。
- Redis 存储对象信息是用 Hash 还是 String : <https://segmentfault.com/a/1190000040032006>

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/redis/redis-data-structures-02.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,3 +214,5 @@ user2
- Redis Data Structures:https://redis.com/redis-enterprise/data-structures/ 。
- 《Redis 深度历险:核心原理与应用实践》1.6 四两拨千斤——HyperLogLog
- 布隆过滤器,位图,HyperLogLog:https://hogwartsrico.github.io/2020/06/08/BloomFilter-HyperLogLog-BitMap/index.html

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/redis/redis-memory-fragmentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,5 @@ config set active-defrag-cycle-max 50
- Redis 官方文档:https://redis.io/topics/memory-optimization
- Redis 核心技术与实战 - 极客时间 - 删除数据后,为什么内存占用率还是很高?:https://time.geekbang.org/column/article/289140
- Redis 源码解析——内存分配:<https://shinerio.cc/2020/05/17/redis/Redis源码解析——内存管理>

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/redis/redis-persistence.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,3 +195,5 @@ AOF 校验机制是 Redis 在启动时对 AOF 文件进行检查,以判断文
- The difference between AOF and RDB persistence:https://www.sobyte.net/post/2022-04/redis-rdb-and-aof/
- Redis AOF 持久化详解 - 程序员历小冰:http://remcarpediem.net/article/376c55d8/
- Redis RDB 与 AOF 持久化 · Analyze:https://wingsxdu.com/posts/database/redis/rdb-and-aof/

<!-- @include: @article-footer.snippet.md -->
Loading

0 comments on commit 20255f0

Please sign in to comment.