Skip to content

Commit

Permalink
目录调整,分布式架构演进提交,错字修改提交
Browse files Browse the repository at this point in the history
  • Loading branch information
wenbin8 committed Oct 30, 2019
1 parent ccc9688 commit ddd555c
Show file tree
Hide file tree
Showing 26 changed files with 330 additions and 19 deletions.
28 changes: 11 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@
- [x] 阻塞队列、原子操作的原理分析
- [x] 线程池、forkjoin的原理分析

### IO

- [x] BIO,NIO,AIO总结

- [x] NIO框架Netty

### 常用设计模式

​ 用好设计模式能帮助我们更好的解决实际问题,设计模式最重要的是解耦。设计模式天天都在用,但自己却无感知。把设计模式作为一个专题,主要是学习设计模式是如何总结经验的,把经验为自己所用。同时也为阅读框架源码打下坚实的基础。在学习设计模式之前,一定要先了解软件设计原则。
Expand Down Expand Up @@ -63,6 +57,10 @@ Spring:
- [ ] b+Tree的原理与Mysql的innoDB索引原理
- [ ] mySql数据查询性能优化

### 数据库分库分表

- [ ] Mycat

### JVM

- [ ] JVM运行时数据区的内存管理机制
Expand All @@ -72,36 +70,32 @@ Spring:

### 分布式

- [ ] 分布式架构演进

#### 分布式基础

- [x] 通信协议Tcp/ip
- [ ] 分布式架构演进
- [ ] 通信协议Tcp/ip
- [ ] HTTP及HTTPS协议原理
- [ ] 序列化与反序列化

### 分布式协调服务
#### 分布式协调服务

- [ ] zookeeper
- [ ] etcd

### 分布式服务治理
#### 分布式服务治理

- [ ] Dubbo

### 分布式消息通信
#### 分布式消息通信

- [ ] kafka
- [ ] rabbitMQ

### 分布式缓存
#### 分布式缓存

- [ ] MongoDB
- [ ] Redis

### 数据库分库分表

- [ ] Mycat


### 微服务(Spring boot/Spring Cloud)

Expand Down
316 changes: 316 additions & 0 deletions 分布式/分布式基础/01-分布式架构演进.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

​ TCP/IP 协议栈是一系列网络协议的总和,是构成网络通信的核心骨架,它定义了电子设备如何连入因特网,以及数据如何在它们之间进行传输。TCP/IP 协议采用4层结构,分别是**应用层、传输层、网络层和链路层**,每一层都呼叫它的下一层所提供的协议来完成自己的需求。由于我们大部分时间都工作在应用层,下层的事情不用我们操心;其次网络协议体系本身就很复杂庞大,入门门槛高,因此很难搞清楚TCP/IP的工作原理,通俗一点讲就是,**一个主机的数据要经过哪些过程才能发送到对方的主机上**。 接下来,我们就来探索一下这个过程。

## ø那个协议栈-一个http请求的过程
## 协议栈-一个http请求的过程

下面我们通过一张图先来大概了解一下TCP/IP协议的基本框架:

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
3 changes: 2 additions & 1 deletion 并发/11-线程池、forkjoin的原理分析.md
Original file line number Diff line number Diff line change
Expand Up @@ -1075,4 +1075,5 @@ public Future<?> submit(Runnable task) {

### **ThreadpoolExecutor.execute**

然后调用 execute 方法,这里面的逻辑前面分析过了,会通过worker线程来调用过ftask的run方法。而这个 ftask其实就是FutureTask里面最终实现的逻辑。
然后调用 execute 方法,这里面的逻辑前面分析过了,会通过worker线程来调用过ftask的run方法。而这个 ftask其实就是FutureTask里面最终实现的逻辑。

0 comments on commit ddd555c

Please sign in to comment.