+1



------------------ ???????? ------------------
??????:                                                                         
                                               "dev"                            
                                                        <[email protected]&gt;;
????????:&nbsp;2020??9??25??(??????) ????4:08
??????:&nbsp;"[email protected]"<[email protected]&gt;;

????:&nbsp;Re: [remote][bug]netty-heartbeat



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


On 09/25/2020 15:55??JUN GAO<[email protected]&gt; wrote??
Hi, CalvinKirs

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



Best Regards
---------------
DolphinScheduler(Incubator)&nbsp; PPMC
Jun Gao ????
[email protected]
---------------

2020??9??25?? ????11:02??CalvinKirs <[email protected]&gt; ??????

I will finish it, using netty idle way


Best&nbsp; wishes??
CalvinKirs


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

CalvinKirs <[email protected]&gt; ??2020??9??24?????? ????6:05??????

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


Best&nbsp; wishes??
CalvinKirs


On 09/24/2020 17:45??leon bao<[email protected]&gt; 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]&gt; ??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 -&gt; zk network
client -&gt; server network
Server -&gt; zk network
it is possible that the client-&gt;zk network is normal, but the
client-&gt;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&nbsp; wishes??
CalvinKirs



--
DolphinScheduler(Incubator)&nbsp; PPMC
BaoLiang ????
[email protected]



--
DolphinScheduler(Incubator)&nbsp; PPMC
BaoLiang ????
[email protected]

Reply via email to