Netty provides the IdleStateHandler mechanism, we add this strategy on the 
server side, and then complete the logic of userEventTriggered() on the client.
Best  wishes!
CalvinKirs


On 09/25/2020 15:55,JUN GAO<[email protected]> wrote:
Hi, CalvinKirs

Can you introduce your design ideas ? I am very interested in this.



Best Regards
---------------
DolphinScheduler(Incubator)  PPMC
Jun Gao 高俊
[email protected]
---------------

2020年9月25日 上午11:02,CalvinKirs <[email protected]> 写道:

I will finish it, using netty idle way


Best  wishes!
CalvinKirs


On 09/25/2020 10:00,leon bao<[email protected]> wrote:
sorry, i may miss some information, but what 's the client mean?

CalvinKirs <[email protected]> 于2020年9月24日周四 下午6:05写道:

client -> zk network
client -> server network
Server -> zk network
it is possible that the client->zk network is normal, but the
client->server network is abnormal.


Best  wishes!
CalvinKirs


On 09/24/2020 17:45,leon bao<[email protected]> wrote:
The system is designed in a decentralized way, which does not need to
maintain the connection between servers, servers only need to connect to
ZK.
i think we can slove the problem on the base of this design.


CalvinKirs <[email protected]> 于2020年9月24日周四 下午4:14写道:

When I checked the source code, I found that we did not perform heartbeat
detection on the client and server of netty.
For example,
client -> zk network
client -> server network
Server -> zk network
it is possible that the client->zk network is normal, but the
client->server network is abnormal. In this case, the link needs to be
disconnected. In this case, we may need to design an elegant solution


In addition, there have been user feedback recently(#3789), which may be
caused by this reason.


Best  wishes!
CalvinKirs



--
DolphinScheduler(Incubator)  PPMC
BaoLiang 鲍亮
[email protected]



--
DolphinScheduler(Incubator)  PPMC
BaoLiang 鲍亮
[email protected]

Reply via email to