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 |
Results summary table:
RocksDB, ATPS1 | Postgres DB, ATPS1 | |
---|---|---|
Configuration A | 395 | 197 |
Configuration B | 420 | |
Configuration C | 930 | 236 |
1 - ATPS (Average Transactions Per Second) As a transaction was counted only commited transaction, average value was taken in the middle of the test over a period of 30 minutes.
More detail information about each runs can be found inside on pages.