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

refactor(iroh-bytes): add ability to operate without a temp dir #2115

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rklaehn
Copy link
Contributor

@rklaehn rklaehn commented Mar 22, 2024

Description

refactor(iroh-bytes): add ability to operate without a temp dir

This enables using the redb store in a mode where it does not use the file system at all except for imports and exports. The downside is that this is not very efficient for large blobs, and that there is an upper limit on the size of blobs in redb.

So sadly this can't be used as a replacement for the mem store. I think it is still useful to have the ability to have an in-mem store though.

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates if relevant.
  • Tests if relevant.

This enables using the redb store in a mode where it does not use the file
system at all except for imports and exports.
@dignifiedquire
Copy link
Contributor

@rklaehn what's the plan here?

@dignifiedquire
Copy link
Contributor

@rklaehn what's the status of this?

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

Successfully merging this pull request may close these issues.

None yet

2 participants