How the simulation is done

nWaku Version: v0.34.0

The following report will analyze if the joining/leaving of nodes in a network produces an impact on message transmission.

For this, the simulations will consist on a set of relay nodes and store nodes that will be permanently online. Every now and then, nodes will join to the same shard, will receive some of those messages, and will leave. At the end we will check if all the permanent nodes had any problem with the messages.

Expectations:

  1. All messages will reach all stable nodes.
  2. Message time to reach all stable nodes will remain on a comprehensible scale.

Results:

✅ All messages reached all stable nodes.

✅ All messages reached all persistent nodes on a short period of time.

src.mesh_analysis.tracers.waku_tracer - INFO - Nº of Peers: 510
src.mesh_analysis.tracers.waku_tracer - INFO - Nº of unique messages: 600
src.mesh_analysis.tracers.waku_tracer - INFO - All peers received all messages for shard 0
src.mesh_analysis.tracers.waku_tracer - INFO - All msg_hash values appear in only one shard.
src.mesh_analysis.waku_message_log_analyzer - INFO - Messages from store match with received messages

Message time distribution:

image.png

Raw Data:

simulation_data_churn.zip