Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Move most of storage items that return Vec-s to offchain worker DB #3

Open
siman opened this issue May 6, 2020 · 0 comments
Open
Labels
bounty-M enhancement New feature or request help wanted Extra attention is needed

Comments

@siman
Copy link
Member

siman commented May 6, 2020

We have around 10 storage items that return Vec of ids, like replyIdsByPostIds. These vecs are not used in runtime logic and mostly consumed by the clients (for example Subsocial's UI).

By moving them to offchain we will speedup a read-time from DB and save the blockchain storage space.

By offchain DB, I mean the high performance key-value DB that is available to Substrate's offchain worker.

@siman siman added enhancement New feature or request help wanted Extra attention is needed labels May 6, 2020
@subsocialdev subsocialdev changed the title Move most of storage items that return Vec-s to offchain DB Move most of storage items that return Vec-s to offchain worker DB May 15, 2020
subsocialdev pushed a commit that referenced this issue May 28, 2020
Convert handle to lower case before checking for uniqueness
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bounty-M enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants