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

Store records in off-heap memory #528

Open
JohannesLichtenberger opened this issue Sep 5, 2022 · 8 comments
Open

Store records in off-heap memory #528

JohannesLichtenberger opened this issue Sep 5, 2022 · 8 comments

Comments

@JohannesLichtenberger
Copy link
Member

In order to keep GC to a minimum (despite of low latency Garbage Collectors as for instance Shenandoah), we could try to store the records/nodes off-heap using the foreign memory API for instance, and compare performance.

@JohannesLichtenberger
Copy link
Member Author

JohannesLichtenberger commented Nov 14, 2022

Probably we should simply store the trx intent log in a Chronicle map instead of a simple HashMap.

@JohannesLichtenberger
Copy link
Member Author

@abhinax4991
Copy link

abhinax4991 commented Apr 30, 2023

Hey @JohannesLichtenberger Guten tag , would like to work on this can you please assign this to me.

@JohannesLichtenberger
Copy link
Member Author

JohannesLichtenberger commented May 2, 2023

@abhin-dynamify I wonder if serialization of page (fragments) and deserialization will be an issue and if it's faster or even slower. Same for Caffeine caches (the lightweight buffer manager)... that said, with the Caffeine caches, if the maximum sizes are too large, I've had severe performance issues regarding the GC (especially with the ZGC, apparently maybe because it is not generational yet).

@JohannesLichtenberger
Copy link
Member Author

We can try and compare performance in a separate branch 👍

@JohannesLichtenberger
Copy link
Member Author

@abhin-dynamify hope it makes sense. Do you work on this?

@abhinax4991
Copy link

@abhin-dynamify hope it makes sense. Do you work on this?

yeah i am working on it

@JohannesLichtenberger
Copy link
Member Author

@abhin-dynamify did you have time?

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

No branches or pull requests

2 participants