module
Version:
v0.0.0-...-a7402c0
Opens a new window with list of versions in this module.
Published: Apr 24, 2023
License: MIT
Opens a new window with license information.
README
¶
注册中心
学习go时,从0到1实现一个简单的注册中心代码以融会贯通
目前仅实现
1. server端使用grpc初始化节点之间的网络通信及重试
2. 节点间的投票选举
3. 数据分片设计
4. client组件
5. 服务注册/订阅/续约/健康检查
6. auto rebalance
7. 伪HA机制,还未达到预期,待完善
待实现
1. 服务端监听某一端口实现协议的多路复用,支持tcp、http、grpc、dubbo
2. .....
待解决
1. 实现无状态部署
Directories
¶
|
|
pkg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.