Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server的心跳上传代码在哪一部分 #5

Open
zhang-dong-sm opened this issue Feb 13, 2023 · 1 comment
Open

server的心跳上传代码在哪一部分 #5

zhang-dong-sm opened this issue Feb 13, 2023 · 1 comment

Comments

@zhang-dong-sm
Copy link

No description provided.

@Suzzt
Copy link
Owner

Suzzt commented Feb 13, 2023

往注册中心这里设计的是一个重心跳,即一直发送注册的请求,com.junmo.boot.bootstrap.RegistryManager#registry,用的是netty的时间轮实现的

如果是server与client之间的心跳是用com.junmo.boot.handler.RpcClientMessageHandler#userEventTriggered来实现的,监听的是读事件
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants