Master node commands

The following is a list of commands that can be fired from the master nodes:

  • The start command
  • The status command
  • The get command
  • The msg command
  • The kill command
  • The clone command
  • The stop command

Let's take a look at each command from a design and implementation perspective.

The start command

The start command will start the master node in the gossip server ecosystem. The precondition for executing this command is that the node name should be unique.

The start command

Sequence of flow of data in Start command

The syntax for this command is: start. The following screenshot shows the response in the shell console:

Implementation of StartMasterCommand

The ...

Get Learning Redis now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.