Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Dynamically adjust buffer_size #29

Open
lanlou1554 opened this issue Apr 3, 2024 · 1 comment
Open

Dynamically adjust buffer_size #29

lanlou1554 opened this issue Apr 3, 2024 · 1 comment

Comments

@lanlou1554
Copy link
Collaborator

For stream and iterator, buffer_size is one thing we should consider. If it is too small, then we have to do more frequent I/Os, but if it is too big, then we cannot serve too many requests at the same time due to fixed total memory size. Maybe we can adjust the buffer_size dynamically.

@lanlou1554
Copy link
Collaborator Author

#51 partially solves this issue. But maybe we can also consider the remaining space of our memory

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant