Replies: 1 comment
-
|
The KVstore works only with LPC string indices. The code below extends it to use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Cloudlib now has support for persistent key-value stores. A key-value store is like a mapping which can grow to be arbitrarily large. The mapping index must always be a string, and the corresponding value must not be a persistent object; otherwise, anything goes.
Key-value stores are implemented as B+ trees, with each node a persistent object.
nodeSizeis how many keys can be stored in one persistent object. A suitable value would depend on thesectorsize configured for DGD; it would be best not to let internal nodes in the B+ tree use more than one sector.Key-value stores permit concurrent modifications in Hydra.
Key-value stores are also iterable.
Beta Was this translation helpful? Give feedback.
All reactions