near / nearcore

Reference client for NEAR Protocol
https://near.org
GNU General Public License v3.0
2.31k stars 615 forks source link

[Tracking issue] 2024 H2 single shard performance #11808

Open akhi3030 opened 1 month ago

akhi3030 commented 1 month ago

This is the issue for tracking the work on increasing the single shard performance in the second half of 2024.

The high level guidance from Bowen is that we would like to see performance reaching:

We will need to build appropriate benchmarks for each of the targets as well. Note that although the work will be done primarily by the contract runtime team, it is absolutely possible that various improvements will be needed in code / components that are not "owned" by the CRT. E.g. it is expected that we might hit state witness size limits when trying to do around 5000 FT transfers per second.

Note one of the performance optimisations can include executing contracts in parallel on the shard.

We are also open to changing the hardware requirements as long as we have clearly demonstrated that we are hitting the limits of the existing hardware requirements and there isn't a good software optimisation that can help us address the limit.

Issues tracking features:

CC: @near/contract-runtime

akhi3030 commented 1 month ago

Notes from meeting on 2024-07-23: