-
Notifications
You must be signed in to change notification settings - Fork 600
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
metrics(storage): add metrics for block cache #1717
Comments
Currently |
But it seems that the block-cache can only record the number of blocks, rather the total memory keep in block cache... |
It's counting on the size by a weigher after #1512 |
Ok, I made a mistake. But how could get the accurate current memory usage? |
And as #1773 (comment) mentioned, the block reference in iterator will not be calculate in capacity of Cache if the entry has been evict. |
Yep. That would be a problem. |
I have ported BlockCache from Maybe I could copy it to risingwave. |
It seems that the implementation doesn't include an async wait map. We need one to prevent multiple requests on the same block from leading to multiple s3 web requests. 🤔 @Little-Wallace |
Good catch. I'm thinking solution for this problem |
No description provided.
The text was updated successfully, but these errors were encountered: