Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Purpose: I that section you can find information about executed performance test runs for Iroha, all parameters and results.

Parameters

Network configuration

Configuration A

  • 50 Iroha nodes
  • 10 virtual machines (5 Iroha nodes per machine)
  • 5 GB memory limit per Iroha node
  • 1 GB memory limit per Postgres node
  • SSD storage
  • 100 GB storage limit per Iroha node

Transaction configuration

  • Ordered batch 1
    • CreateDomain
    • CreateAsset
    • CreateAccount
    • AddAssetQuantity
    • TransferAsset
  • Ordered batch 2
    • GrantPermission
    • SetAccountDetail
  • Ordered batch 3
    • SetAccountDetail

Test types

  1. Soak testing: running Iroha network with 80% of peak load over a long time period of time (more than 24 hours) – to emulate behaviour under normal load on an extended period of time
  2. Spike testing: running Iroha network with 100% of peak load over a shorter time period (around 1 hour) – to emulate behaviour at peaks of request during "rush hours"

Metrics

During performance testing, our goal is to understand non-functional characteristics of running Iroha network in terms of speed and efficiency.

For a clear understanding of such characteristics, we are going to collect the following metrics:

  • Step 1. Obtaining information about peak load that Iroha network can handle:
    • Define the highest amount of transactions for a peak load of Iroha network during one hour (on the peak load the network should work stable, without significant deterioration of other characteristics: TPS, memory consumption, transaction finalization time, etc.). 
  • Step 2. Collecting data about Iroha characteristics (for each test type)
    • The maximum amount of successfully finalized transactions per second (TPS)
    • Average time of transaction finalization (from the moment when the transaction reached the Torii port, until the moment when the transaction is marked as finalized and sent to the subscribers via opened streams)
    • Average memory consumption by Iroha nodes (first 10% of time interval should be omitted to minimize the influence of "heating up" stage)
    • Average memory consumption by Postgres storage (first 10% of time interval should be omitted to minimize the influence of "heating up" stage)
    • Average CPU utilization by each node (first 10% of time interval should be omitted to minimize the influence of "heating up" stage)
    • Amount of errors from the Iroha network
    • Amount of not finalized or missed transactions

Sources

  1. https://theqaconnection.com/2020/10/14/basics-of-performance-testing/
  • No labels