Merge pull request #9 from GGBoooond/main

read
This commit is contained in:
GG.Bond 2024-07-08 02:43:14 +08:00 committed by GitHub
commit cdaafc9998
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 103 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB

104
README.md
View File

@ -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作为注册中心
![1720376325450](README.assets/1720376325450.png)
# 版本二
**part1**
- netty自定义编码器解码器和序列化器
**part2**
- 在客户端建立本地服务缓存
- 实现本地缓存的动态更新
![1720376518663](README.assets/1720376518663.png)
# 版本三
**part1**
- 实现客户端的负载均衡
**part2**
- 实现客户端的容错:失败重传
- 服务白名单
![1720376674829](README.assets/1720376674829.png)
# 版本四
**part1**
- 服务限流,降级的实现
- 熔断器的实现
![1720376759165](README.assets/1720376759165.png)
# TodoList
- [ ] 补充其它序列化方式如ProtoBufHessian
- [ ] 集成Spring
- [ ] 主动下线失败次数过多的节点
- [ ] 探测离线节点的状态,对恢复正常的节点重新上线
- [ ] 实现自适应的负载均衡器