GhostDB icon indicating copy to clipboard operation
GhostDB copied to clipboard

keyspaceSize definition

Open nodesocket opened this issue 5 years ago • 1 comments

Found this project via Hacker News. Looks awesome. Quick question:

“keyspaceSize”: 65536

Is that the number of items or number of bytes that can be stored? Typically you allocate X number of bytes of memory that can be used. Allocating the number of items seems strange as items will be variable length right?

nodesocket avatar Jul 09 '20 00:07 nodesocket

Currently keyspaceSize represents the number of allowed key-value pairs on the node. This should really be the number of allowed bytes. It is an issue we'll address soon.

jakekgrog avatar Jul 10 '20 14:07 jakekgrog