Purpose: Compared Postgres DB and RocksDB configuration.
Parameters
All tests was performed with similar Iroha configuration:
config
{
"block_store_path" : "/tmp/block_store",
"database": {
...
},
"max_proposal_size" : 1000,
"proposal_delay" : 1000,
"vote_delay" : 500,
"mst_enable" : true,
"mst_expiration_time": 1440,
"proposal_creation_timeout": 500,
"stale_stream_max_rounds": 5
}
Machine configurations:
Iroha nodes, | Number of CPUs | iroha memory, GB | Storage, per node | |
---|---|---|---|---|
Configuration A | 7 | 3 | 2 | SSD, 8 Gb |
Configuration B | 4 | 4 | 2 | SSD, 17 Gb |
Configuration C | 4 | 8 | 5 | SSD, 218 Gb |
1 - TPS Transactions per second, In our case we counted commited transactions.