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

Investigate use of RandomAccess API to implement storage device in Tsavorite #89

Open
PaulusParssinen opened this issue Mar 22, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@PaulusParssinen
Copy link
Contributor

PaulusParssinen commented Mar 22, 2024

We discussed this a bit earlier in the Garnet discord but I'm opening issue for tracking it here.

In .NET 6, the File IO in the BCL was essentially entirely rewritten, including introduction of new RandomAccess low-level API. The RandomAccess API is extremely optimized low-level offset based thread-safe IO wrapper that depending on the platform, either uses pread(v)/pwrite(v) for Unix or Overlapped IO for Windows.

We should investigate if RandomAccess based storage device implementation can be added to Tsavorite.core.

@AlgorithmsAreCool
Copy link

I've personally had great success with RandomAccess, but I'm curious about the perceived advantages of this addition? Performance? Consolidation?

@TalZaccai TalZaccai added the help wanted Extra attention is needed label Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants