How the simulation is done

nWaku Version: v0.34.0-rc1

The following simulation structure was prepared for testing mixed environments in nWaku. This structure will added to the Waku regresion tests that are done monthly with each version, allowing us to check the results of the protocols in a more specific manner.

More specifically, in this results the simulations will contain relay-filter, relay-lightpush and store, alongside with filter and lightpush clients.

Multiple shards can also be tested in this environment, as the results and the code that was used for sharding simulations is already available. This might need some workaround thougth from waku.

Expectations:

  1. Messages will be published from both relay and lightpush nodes.
  2. All messages will reach all nodes.
  3. Message time to reach all nodes will remain on a comprehensible scale.

Results:

✅ All messages reached all nodes.

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

✅ Correct results with 50 and 600 messages.

src.mesh_analysis.tracers.waku_tracer - INFO - Nº of Peers: 210
src.mesh_analysis.tracers.waku_tracer - INFO - Nº of unique messages: 50
src.mesh_analysis.tracers.waku_tracer - WARNING - Peers missed messages on shard 0
src.mesh_analysis.tracers.waku_tracer - WARNING - Peers who missed messages: ['16U*2mWfuf', '16U*8mv5Tr', '16U*8r3HfX', '16U*B4YEMB', '16U*BTb7gr', '16U*BopeZZ', '16U*EFAh5t', '16U*PoYas2', '16U*WU4WNA', '16U*We1864', '16U*XMAE4a', '16U*YYZL4X', '16U*apxKNy', '16U*gjKucv', '16U*iKqKCM', '16U*o5wm6X', '16U*zx3FQW']
src.mesh_analysis.tracers.waku_tracer - WARNING - Missing messages: ['0x09af7c37b20c9d9481144d76d0db780855deed6666b6ab326469aaeb59069240', '0x0a77af4ce7d154297e2f65a4972f908c3256dbf4f4851cd2880534307276413f', '0x194d5f5fd141564484ec6eab6fc893022a720e7422febb6af4d7b30d92ca4e5c', '0x2164809a1ed3ab777845c092218b31b27fbe14471266fac707020c1e66d9451c', '0x297ea783a1a53e3b696a769122f70c52995a6eb54362a347d8c4b3b5dbe5dfe2', '0x311fae8bbdb01409ee6849a131b29081d983705e852ae66e908754f1698630b1', '0x3748ff40e6af881a58a65a8fcd3751261d244dfa6cda424b6ca3781651ba9a2a', '0x38dce0485bcd0029317780ff2dfef10f7a80f2e1e390ad9c675b28a8598cadb9', '0x51693553a9ed73f6ea0791b51a215639550c2f3ec27483eac26278b6ed817346', '0x5cee6f869b69cf070f2558ce843c55dc7a80f2dda78b6dbe5e0e308471521167', '0x667b2761b061fc2c1815b46ead0e9862c56ccf8ca5f2f10861184e418bf8e8b0', '0x6b3a435dcf37c521d6f1d69c7ec434e444e08e3a6bd9fbe157b9972c86b3ec40', '0x79abd61048cf0d1d3e41002fe1dab06768e0d7e9f93845272bc66827b1fd9dd0', '0xab8bb4b76c0957f776c45770df8be02d4f37fc62cbaaf4200d8a55d662e30eae', '0xbc42a25256cbe1ee17bdbb4cf1c10a706e5ee734f9815a370fb4ed73cd2b1b81', '0xd30d926e30b9978de7dbf3c8c8a625c281cb9f865715df4e2576ba596920f142', '0xeeabc96cf964a6c98a6ea0bdf6c0688640c8691a311f9079045abd6c6a356b8e', '0xf557cef2115ee1a069da31fb817f7e958d86ad910bfa4dca2fc3323fb216104a']
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
src.mesh_analysis.waku_message_log_analyzer - INFO - Messages from filter match in length.

Warning messages are explained in notes.

Message time distribution: