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

Reduce heap usage for small record #831

Open
SCNieh opened this issue Dec 14, 2023 · 1 comment
Open

Reduce heap usage for small record #831

SCNieh opened this issue Dec 14, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@SCNieh
Copy link
Contributor

SCNieh commented Dec 14, 2023

the heap usage of BlockCache and LogCache will significantly increase due to the large number of StreamRecordBatch when record size is small

@SCNieh SCNieh added the enhancement New feature or request label Dec 14, 2023
@SCNieh SCNieh self-assigned this Dec 14, 2023
@SCNieh
Copy link
Contributor Author

SCNieh commented Feb 19, 2024

  1. Reduce BlockCache heap usage by directly put data block into cache block and parsing it into StreamRecordBatch on demand
  2. Reduce LogCache heap usage by directly put encoded StreamRecordBatch into StreamCache and decode for indexing on binary search (or cache indices for acceleration by sacrificing more heap memory)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant