Golang interview questions sorting

Raft protocol process

It can be seen that all nodes are in the follower state when they start; if they do not receive a heartbeat from the leader within a period of time, switch from follower to candidate and initiate an election; if they receive a majority ticket (including their own vote), switch Go to the leader state; if it finds that other nodes are newer than itself, it will actively switch to follower.
   In short, there is at most one leader in the system. If there is no leader within a period of time, everyone will elect a leader through election-voting. The leader will keep sending heartbeat messages to the follower to indicate its survival status. If the leader fails, the follower will be converted into a candidate, and the leader will be re-elected.

https://blog.csdn.net/zhou920786312/article/details/115457979

flink interview questions

https://wenku.baidu.com/view/0855dd01a9ea998fcc22bcd126fff705cc175cfd.html
https://zhuanlan.zhihu.com/p/138101642
https://mp.ofweek.com/ai/a556714307127

Guess you like

Origin blog.csdn.net/qq_45206551/article/details/124728263