near / near-one-project-tracking

A repository for tracking work items that NEAR One is working on.
0 stars 0 forks source link

[ProjectTracking]: Profilling to identify bottleneck for Mainnet shard 2 #60

Open walnut-the-cat opened 8 months ago

walnut-the-cat commented 8 months ago

Goals

Have a clear understanding on root cause of congestion in shard 2 we have experienced in the MainNet.

Links to external documentations and discussions

https://near.zulipchat.com/#narrow/stream/295558-core/topic/profiling.20chunk.20processing/near/426154709

Estimated effort

TBD

Out of scope

Longarithm commented 8 months ago

March 18th update

TLDR: the fixes can give ~2x speed up but the implementation is more challenging than expected. We need to implement caching properly and estimate impact of reducing gas costs. More details at https://near.zulipchat.com/#narrow/stream/295306-contract-runtime/topic/bottleneck.20on.20compile_and_load/near/427502581 and above.

I would ask @tayfunelmas and/or someone from @near/contract-runtime to track this further.