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

What are the storage limits for hyperdrive? #2

Open
KrishnaPG opened this issue Jul 26, 2022 · 2 comments
Open

What are the storage limits for hyperdrive? #2

KrishnaPG opened this issue Jul 26, 2022 · 2 comments

Comments

@KrishnaPG
Copy link

KrishnaPG commented Jul 26, 2022

This is originally posted here, but since this is the next version preview going on, thought of adding here so that this can be discussed and can possibly contribute to the design / architecture.

  • (Assuming we have enough hard-disk space) Can hyperdrive be used to store large files (say 100K+ files, each 100GB) ?

When using a local file system, it looks like all the hyperdrive block data is stored into a single file (/data) in the storage. As such that will have problems with the OS file size limits.

What happens when the hyperdrive content becomes large? Will the hyperdrive (or hyperspace / hypercore) continue to append the blocks to the same underlying storage data file or will it spill them into different data files?

Where can one find more information on how the file system is organized underlying for the blobs of Hyperdrive?

@mafintosh
Copy link
Contributor

It continues to append to that file yes, but the file impl is flexible so close to trivial to make it use multiple if you wanted to (see random-access-storage)

@mafintosh
Copy link
Contributor

No file limits, flexible indexing with the btree.

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

No branches or pull requests

2 participants