-
Notifications
You must be signed in to change notification settings - Fork 220
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
Optimize memory usage for S3StreamMetadataImage. #618
Closed
Labels
enhancement
New feature or request
Comments
Assuming the strategy of stream compaction is to compact the size of each individual object in a stream up to 1GiB, then for a cluster that stores 1PiB of data, the memory consumption per object would be around 50MiB, which is calculated as 1024 * 1024 * (memory usage per object's metadata). Therefore, the optimization goals have changed to:
|
This was referenced Jan 3, 2024
daniel-y
pushed a commit
that referenced
this issue
Mar 14, 2024
Signed-off-by: Shichao Nie <niesc@automq.com>
ShadowySpirits
pushed a commit
that referenced
this issue
Mar 14, 2024
Signed-off-by: Shichao Nie <niesc@automq.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Who is this for and what problem do they have today?
Why is solving this problem impactful?
In the scenario of a 10w partition, even if a stream object compaction is performed every 1 hour, running for a day will still generate 100000 * 24 stream objects, ultimately occupying at least 100+ MiB of metadata memory. If we consider longer retention time and multiple streams per Partition, the actual memory usage of metadata will be even higher.
Additional notes
The text was updated successfully, but these errors were encountered: