Summary
Storage in the cosmos-sdk is where we spend the most amount of time in execution. The original store package was written many years ago and left to ferment. As the needs of blockchains expanded and we gained better insight into how applications using the cosmos-sdk reads and writes we have learned how to better design the storage layer.
Problem Definition
Cosmos-sdk spends immense amounts of time at the storage layer and this is causing many bottlenecks.
Proposal
We need to refactor many parts of the storage layer in order to get somewhere where the users of the cosmos-sdk can get the highest performance for their applications.
Things we can do today:
Things to do in the future:
Previously there was work around a new storage layer, store/v2 and adr-40, this work and design is currently under review from the core sdk team.
Work Breakdown
Phase 1
ref: #7101, #6687
Phase 2
Phase 3
Summary
Storage in the cosmos-sdk is where we spend the most amount of time in execution. The original store package was written many years ago and left to ferment. As the needs of blockchains expanded and we gained better insight into how applications using the cosmos-sdk reads and writes we have learned how to better design the storage layer.
Problem Definition
Cosmos-sdk spends immense amounts of time at the storage layer and this is causing many bottlenecks.
Proposal
We need to refactor many parts of the storage layer in order to get somewhere where the users of the cosmos-sdk can get the highest performance for their applications.
Things we can do today:
Things to do in the future:
Previously there was work around a new storage layer, store/v2 and adr-40, this work and design is currently under review from the core sdk team.
Work Breakdown
Phase 1
ref: #7101, #6687
Phase 2
Phase 3