read
This commit is contained in:
parent
33356c4ae0
commit
a0b7918c7a
BIN
README.assets/1720376325450.png
Normal file
BIN
README.assets/1720376325450.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 272 KiB |
BIN
README.assets/1720376518663.png
Normal file
BIN
README.assets/1720376518663.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 291 KiB |
BIN
README.assets/1720376674829.png
Normal file
BIN
README.assets/1720376674829.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 240 KiB |
BIN
README.assets/1720376759165.png
Normal file
BIN
README.assets/1720376759165.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 235 KiB |
104
README.md
104
README.md
@ -3,7 +3,15 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
由简入繁,在版本的更新中持续对框架进行升级
|
## 启动流程
|
||||||
|
|
||||||
|
1.先安装并开启zookeeper
|
||||||
|
|
||||||
|
[windows 环境下zookeeper的安装与配置]: https://blog.csdn.net/fisherish/article/details/118974827?spm=1001.2014.3001.5506
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
2.运行Server包下的TestServer,再运行Client包下的TestClient
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -112,3 +120,97 @@
|
|||||||
|
|
||||||
# 版本一
|
# 版本一
|
||||||
|
|
||||||
|
**part1**
|
||||||
|
|
||||||
|
- 实现基本的rpc调用
|
||||||
|
- 客户端动态代理
|
||||||
|
- 定义统一的request和response
|
||||||
|
|
||||||
|
**part2**
|
||||||
|
|
||||||
|
- 引入netty框架进行信息传输
|
||||||
|
- 自定义消息格式
|
||||||
|
|
||||||
|
**part3**
|
||||||
|
|
||||||
|
- 引入zookeeper作为注册中心
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# 版本二
|
||||||
|
|
||||||
|
**part1**
|
||||||
|
|
||||||
|
- netty自定义编码器,解码器和序列化器
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
**part2**
|
||||||
|
|
||||||
|
- 在客户端建立本地服务缓存
|
||||||
|
|
||||||
|
- 实现本地缓存的动态更新
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# 版本三
|
||||||
|
|
||||||
|
**part1**
|
||||||
|
|
||||||
|
- 实现客户端的负载均衡
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
**part2**
|
||||||
|
|
||||||
|
- 实现客户端的容错:失败重传
|
||||||
|
- 服务白名单
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# 版本四
|
||||||
|
|
||||||
|
**part1**
|
||||||
|
|
||||||
|
- 服务限流,降级的实现
|
||||||
|
- 熔断器的实现
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# TodoList
|
||||||
|
|
||||||
|
- [ ] 补充其它序列化方式(如ProtoBuf,Hessian)
|
||||||
|
|
||||||
|
- [ ] 集成Spring
|
||||||
|
|
||||||
|
- [ ] 主动下线失败次数过多的节点
|
||||||
|
|
||||||
|
- [ ] 探测离线节点的状态,对恢复正常的节点重新上线
|
||||||
|
|
||||||
|
- [ ] 实现自适应的负载均衡器
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user