Tag:Initiator

  • Naming rules for Java packages

    Time:2020-12-24

    The packaging mechanism in Java is to limit the local program to one block in order to prevent the same name appearing in multiple places of the programIf there are people with the same name and surname in different areas, to solve this problem, we need to package all the people (programs) in different areas […]

  • Raft algorithm election process and scenario analysis

    Time:2020-12-7

    Raft algorithm is divided into two stages Leader election Three roles Follower, candidate, leader (in order)The three roles cannot be overstepped, that is, leader can only degenerate to follower, follower can only be upgraded to candidate, candidate can be degenerated to follower, or elected as leader. How to convert it? Will term and timeout change […]