Running more than 20 production blockchains, SKALED is Ethereum-compatible, high performance C++ Proof-of-Stake client, tools and libraries. Uses SKALE consensus as a blockchain consensus core. Includes dynamic Oracle. Implements file storage and retrieval as an EVM extension.
Describe the bug
The indexer node saves all blocks from the Skale chain to archive db.
All databases stay open during skaled work, which may lead to significant resources usage and skaled hangs.
Preconditions
Active schain medium type with connected Indexer node
Indexr node should have at least 300 million transactions of token transfer
Load tests:
1000 users
data size 100 bytes
gasUsage for the transaction - 100 000 units
Skale chain on QA-net: skale_schain_massive-long-sirius
Versions
skalenetwork/schain:3.19.3-beta.0
To Reproduce
Run load tests and wait for 24 hours
Send 5 JSON-RPC requests "eth_getBlockByNumber("latest", false)"
Example call
Check the latest block on the indexer node
Check the response time
Expected behavior
Skaled on indexer node should be fully synced with core nodes during the load
No performance warnings - skaled on indexer node should operate JSON-RPC calls less than in 1 second
Describe the bug The indexer node saves all blocks from the Skale chain to archive db. All databases stay open during skaled work, which may lead to significant resources usage and skaled hangs.
Preconditions Active schain medium type with connected Indexer node Indexr node should have at least 300 million transactions of token transfer Load tests:
Skale chain on QA-net:
skale_schain_massive-long-sirius
Versions skalenetwork/schain:3.19.3-beta.0
To Reproduce
Expected behavior Skaled on indexer node should be fully synced with core nodes during the load No performance warnings - skaled on indexer node should operate JSON-RPC calls less than in 1 second
Amount of open databases in skaled
All databases in Snapshots directory