Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

feat: metadata-only / outbound in-mem store #18

Open
ramfox opened this issue Jan 3, 2023 · 0 comments
Open

feat: metadata-only / outbound in-mem store #18

ramfox opened this issue Jan 3, 2023 · 0 comments

Comments

@ramfox
Copy link
Contributor

ramfox commented Jan 3, 2023

Rather than adding data to the store when we iroh add, we can remove duplication by only storing the graph metadata, filestore or database location, and block offsets in our store.

This helps us in the DeltaChat iroh-share use case because we know the DeltaChat data already exists on the local device, so we don't need to store it again internally. This will remove duplication and speed up "add" time (since we don't have to write the block data to disk).

This implementation can be ephemeral since in the iroh-share use case the graph/encoded data only needs to exist as long as it takes to transfer the data.

@dignifiedquire dignifiedquire transferred this issue from n0-computer/iroh Feb 17, 2023
@ramfox ramfox removed this from iroh Feb 21, 2023
@flub flub removed their assignment Sep 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants