Best storage engine for mobile #47
Replies: 0 comments 7 replies
-
I prefer a flat-file blob db, since it's the simplest and most versatile. If speed is needed, an index can be kept in memory. Records in the flat file could fold into a key-value schemaless datastructure. |
Beta Was this translation helpful? Give feedback.
-
I'm still having a hard time understanding why we need this and especially how it's meant to be implemented. From https://github.com/orgs/RGB-WG/discussions/238#discussioncomment-4708892 I've understood that most of rgb-node code will go to rgb-std and that storage will not change (we'll keep sled) so no migration will be needed. But from what you're saying here it seems that you want to avoid using sled on mobile, so are you planning to make rgb-std more abstract in a way that it can handle different storage systems? |
Beta Was this translation helpful? Give feedback.
-
With the move from running multi-threaded RGB Node on mobile towards using a small RGB standard library wrapped into C FFI we have an opportunity in the future versions to use more efficient data storage than it is used today (raw files + sled).
What would be your choice for the best mobile storage backend for:
My criteria would be:
I believe the criteria above can't be achieved, so we will need to sacrifice something...
Beta Was this translation helpful? Give feedback.
All reactions