icon-project / centralized-relay

Fault tolerant Relayer.
Apache License 2.0
6 stars 4 forks source link

Stress test relayer #183

Closed debendraoli closed 3 months ago

debendraoli commented 4 months ago

The stress test should satisfy the following.

  1. Number of transactions relayer executes on a single block before failing.
  2. Maximum number of chains connected while stress testing - increase chains to see if they still perform well.
debendraoli commented 4 months ago

Please add other conditions I missed. @FezBox

delta4-seeker commented 4 months ago
  1. Successfully relayed 60 txn completely packed within 2 icon block, so each block can have maximum 30 xcall messages.

Lisbon block 37702431 Lisbon block 37702430

delta4-seeker commented 4 months ago

Tested multi-chain transactions; the relayer is able to detect and relay different chain messages. Tested on _BSCTESTNET, FUJI, and ARCHWAY. Measuring the throughput of the relayer is difficult from external requests and responses, so I am only able to test 30 continuous transactions, 10 txn for each chain.