-
Couldn't load subscription status.
- Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
For small blobs, ie: those that are under the 64kB limit for DenoKV, using the blob library results in two writes - a meta and a blob write.
I wonder if these couldn't be combined into a single write ?
The format of the meta write is roughly:
const key: [
...userSuppliedKey,
"__kv_toolbox_meta__"
],
const value: { kind: "buffer", size: 92 }However if this was always encoded into a Uint8Array, then the first blob write could be appended to the meta value using length encoding or something, resulting in a single write for small values, and decreasing the total write count by 1 for all other sizes ?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request