In my web-app server keeps the list of all the nodes that are connected to it (in the database). Just to ensure that it doesn't keep the node information that are not connected to it anymore,after a certain interval it deletes the node from the database. Each node connected pings to the server after every 10 seconds and there is an entry made, that In my web-app server keeps the list of all the