Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rfc11: support optional size key #449

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chu11
Copy link
Member

@chu11 chu11 commented Mar 1, 2025

Problem: It would be convenient to know the size of the data in a val or valref object without decoding/reading the data. However there is no metadata for that.

Support an optional size key in 'val' and 'valref' objects. It allows us to know the size of the data without wasting cycles decoding or reading the data.


As mentioned in

flux-framework/flux-core#6264
flux-framework/flux-core#6266

it would be convenient to know how much data there is in a KVS entry without reading all of the contents.

Side note, it may be useful to also know the size of each blobref in a valref object, but I will leave that for another possible RFC change when the time arrives.

Problem: It would be convenient to know the size of the data in
a val or valref object without decoding/reading the data.  However
there is no metadata for that.

Support an optional size key in 'val' and 'valref' objects.  It
allows us to know the size of the data without wasting cycles
decoding or reading the data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant