You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd be great to be able to visualise each DHT operation to see which nodes where involved. It could look something like this:
So that the green node is the one initiating the operation and the orange nodes are those receiving messages from the green node. It'd be great to have the order in which the nodes received messages (see the numbers inside the nodes above).
This visualisation should work as a stand-alone Python script that takes two arguments: log_folder and operation_id
The code should:
go to log_folder
open msg.csv and operation.csv (their content is described below)
find the operation_id in operation.csv and read the IDs of messages being part of this operation
find all the messages (as indicated by their IDs) msg.csv
for each message, get the timestamp (for ordering) and its recipient (node ID)
Plot all the nodes involved with appropriate colouring. Probably we want to plot uniquely nodes involved in the operation (plotting all the nodes would make the graph unreadable). The positioning of the nodes on the graph depends on their ID (to be read from the CSV file). Here we implemented something very similar in Java. The only difference was that we were plotting nodes on a circle, while here - it should be a line.
It'd be great to be able to visualise each DHT operation to see which nodes where involved. It could look something like this:
So that the green node is the one initiating the operation and the orange nodes are those receiving messages from the green node. It'd be great to have the order in which the nodes received messages (see the numbers inside the nodes above).
This visualisation should work as a stand-alone Python script that takes two arguments:
log_folder
andoperation_id
The code should:
log_folder
msg.csv
andoperation.csv
(their content is described below)operation_id
inoperation.csv
and read the IDs of messages being part of this operationmsg.csv
msg.csv format
operations.csv format
The text was updated successfully, but these errors were encountered: