3 ms·
Does the node need bulk write speeds? or does it need fast IO ops per second?
by eminence32 5y ago
Does the node need bulk write speeds? or does it need fast IO ops per second?
- trianglesphere 5y agoIt needs low latency. There is a huge amount of inherently sequential lookups in the state (~9 leveldb lookups per 1 state acess in a smart contract) and you can't store the state in RAM on most consumer hardware.
- jlokier 5y agoIt's read as well as write IOPS and seek time. The Ethereum state database uses hashes as keys and is larger than anyone's reasonable amount of RAM. So most accesses are all over the database in terms of physical location, and it can't be cached in RAM effectively. There is various work to improve this, but the basic architecture does depend on random access storage to a great extent.