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

flux-kvs: improve flux kvs dir performance #6526

Open
chu11 opened this issue Dec 19, 2024 · 1 comment
Open

flux-kvs: improve flux kvs dir performance #6526

chu11 opened this issue Dec 19, 2024 · 1 comment

Comments

@chu11
Copy link
Member

chu11 commented Dec 19, 2024

flux kvs dir retrieves all keys and values for a directory. It truncates large values, which means that very large values (think stdout from a job) can make flux kvs dir slow, even if the output value won't be displayed.

non-thought out brainstorming ideas

  • the new FLUX_KVS_STREAM would improve performance of large values, although it would still suffer large values being transmitted
  • some mechanism to tell FLUX_KVS_STREAM stop after X bytes? Or after 1 blob?
  • ???
@chu11
Copy link
Member Author

chu11 commented Jan 6, 2025

some mechanism to tell FLUX_KVS_STREAM stop after X bytes? Or after 1 blob?

It occurs to me that the "bytes" part of this is impossible, since kvs-watch wouldn't know how much data there is until the content blob is retrieved. Perhaps something related to the KVS data size stuff (#6264 #6265) could maybe solve this in the future.

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

No branches or pull requests

1 participant