Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ RPC 让调用远程服务调用像调用本地方法那样简单。

#### 消息队列

消息队列在分布式系统中主要是为了解耦和削峰。相关阅读: **[消息队列总结](docs/system-design/data-communication/message-queue.md)** 。
消息队列在分布式系统中主要是为了解耦和削峰。相关阅读: **[消息队列总结](docs/system-design/distributed-system/message-queue/message-queue.md)** 。

1. **RabbitMQ** : [RabbitMQ 入门](docs/system-design/distributed-system/message-queue/RabbitMQ入门看这一篇就够了.md)
2. **RocketMQ** : [RocketMQ 入门](docs/system-design/distributed-system/message-queue/RocketMQ.md)、[RocketMQ 的几个简单问题与答案](docs/system-design/distributed-system/message-queue/RocketMQ-Questions.md)
Expand Down Expand Up @@ -436,7 +436,7 @@ CAP 也就是 Consistency(一致性)、Availability(可用性)、Partiti

![](https://cdn.jsdelivr.net/gh/javaguide-tech/blog-images-2@main/%E8%AE%A1%E7%AE%97%E6%9C%BA%E4%B8%93%E4%B8%9A/image-20201027160348395.png)

为了避免恶意传播,微信搜“**Github掘金计划**”后台回复**“006”**即可获取。
为了避免恶意传播,微信搜“**Github掘金计划**”后台回复 **“006”** 即可获取。

<img src="https://cdn.jsdelivr.net/gh/javaguide-tech/blog-images-2@main/%E7%B3%BB%E7%BB%9F%E8%AE%BE%E8%AE%A1/qrcode_for_gh_8b9b6034ac19_258.jpg" style="text-align:right"/>

Expand Down
31 changes: 3 additions & 28 deletions docs/dataStructures-algorithms/数据结构.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
下面只是简单地总结,给了一些参考文章,后面会对这部分内容进行重构
<!-- MarkdownTOC -->
> 注意!!!这部分内容会进行重构,以下内容仅作为参考
> <!-- MarkdownTOC -->

- [Queue](#queue)
- [什么是队列](#什么是队列)
Expand Down Expand Up @@ -38,10 +38,6 @@ Java 集合中的 Queue 继承自 Collection 接口 ,Deque, LinkedList, Priori
Queue 用来存放 等待处理元素 的集合,这种场景一般用于缓冲、并发访问。
除了继承 Collection 接口的一些方法,Queue 还添加了额外的 添加、删除、查询操作。

### 推荐文章

- [Java 集合深入理解(9):Queue 队列](https://blog.csdn.net/u011240877/article/details/52860924)

## Set

### 什么是 Set
Expand All @@ -60,11 +56,6 @@ Set 继承于 Collection 接口,是一个不允许出现重复元素,并且

**TreeSet** 是红黑树结构,每一个元素都是树中的一个节点,插入的元素都会进行排序;


### 推荐文章

- [Java集合--Set(基础)](https://www.jianshu.com/p/b48c47a42916)

## List

### 什么是List
Expand All @@ -79,23 +70,7 @@ Set 继承于 Collection 接口,是一个不允许出现重复元素,并且

**Vector** 是矢量队列,和ArrayList一样,它也是一个动态数组,由数组实现。但是ArrayList是非线程安全的,而Vector是线程安全的。

**Stack** 是栈,它继承于Vector。它的特性是:先进后出(FILO, First In Last Out)。相关阅读:[java数据结构与算法之栈(Stack)设计与实现](https://blog.csdn.net/javazejian/article/details/53362993)

### ArrayList 和 LinkedList 源码学习

- [ArrayList 源码学习](https://github.com/Snailclimb/JavaGuide/blob/master/docs/java/collection/ArrayList.md)
- [LinkedList 源码学习](https://github.com/Snailclimb/JavaGuide/blob/master/docs/java/collection/LinkedList.md)

### 推荐阅读

- [java 数据结构与算法之顺序表与链表深入分析](https://blog.csdn.net/javazejian/article/details/52953190)


## Map


- [集合框架源码学习之 HashMap(JDK1.8)](https://juejin.im/post/5ab0568b5188255580020e56)
- [ConcurrentHashMap 实现原理及源码分析](https://www.cnblogs.com/chengxiao/p/6842045.html)
**Stack** 是栈,它继承于Vector。它的特性是:先进后出(FILO, First In Last Out)。

## 树

Expand Down
5 changes: 0 additions & 5 deletions docs/java/basis/Java基础知识.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
- [2.3. 修饰符](#23-修饰符)
- [2.3.1. 在一个静态方法内调用一个非静态成员为什么是非法的?](#231-在一个静态方法内调用一个非静态成员为什么是非法的)
- [2.3.2. 静态方法和实例方法有何不同](#232-静态方法和实例方法有何不同)
- [2.3.3. 常见关键字总结:static,final,this,super](#233-常见关键字总结staticfinalthissuper)
- [2.4. 接口和抽象类](#24-接口和抽象类)
- [2.4.1. 接口和抽象类的区别是什么?](#241-接口和抽象类的区别是什么)
- [2.5. 其它重要知识点](#25-其它重要知识点)
Expand Down Expand Up @@ -987,10 +986,6 @@ public class Student {

2. 静态方法在访问本类的成员时,只允许访问静态成员(即静态成员变量和静态方法),而不允许访问实例成员变量和实例方法;实例方法则无此限制。

#### 2.3.3. 常见关键字总结:static,final,this,super

详见笔主的这篇文章: https://snailclimb.gitee.io/javaguide/#/docs/java/basic/final,static,this,super

### 2.4. 接口和抽象类

#### 2.4.1. 接口和抽象类的区别是什么?
Expand Down
4 changes: 2 additions & 2 deletions docs/system-design/high-availability/CAP理论.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![](images/cap/cap.png)
![](https://guide-blog-images.oss-cn-shenzhen.aliyuncs.com/2020-11/cap.png)

## 简介

Expand Down Expand Up @@ -44,7 +44,7 @@ CAP 仅适用于原子读写的 NOSQL 场景中,并不适合数据库系统。

注册中心负责服务地址的注册与查找,相当于目录服务,服务提供者和消费者只在启动时与注册中心交互,注册中心不转发请求,压力较小。

![](images/cap/dubbo-architecture.png)
![](https://guide-blog-images.oss-cn-shenzhen.aliyuncs.com/2020-11/dubbo-architecture.png)

常见的可以作为注册中心的组件有:ZooKeeper、Eureka、Nacos...。

Expand Down
Binary file not shown.
Binary file not shown.