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

Better support for random file access #3321

Closed
lemmih opened this issue Aug 3, 2023 · 1 comment · Fixed by #3338
Closed

Better support for random file access #3321

lemmih opened this issue Aug 3, 2023 · 1 comment · Fixed by #3338
Assignees

Comments

@lemmih
Copy link
Contributor

lemmih commented Aug 3, 2023

Issue summary

Consider using positioned-io in the CAR-back block stores. Benefits:

  • FADV_RANDOM on Linux and good performance on Windows.
  • Reading doesn't require ownership of the File handle. This means multiple threads can read from the same handle.

Other information and links

@ruseinov
Copy link
Contributor

ruseinov commented Aug 3, 2023

Would be interested in taking this on later to get familiar with car-backed store.

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

Successfully merging a pull request may close this issue.

2 participants