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

Storage API #192

Open
bajtos opened this issue Apr 20, 2023 · 1 comment
Open

Storage API #192

bajtos opened this issue Apr 20, 2023 · 1 comment
Labels
feature New feature or request

Comments

@bajtos
Copy link
Member

bajtos commented Apr 20, 2023

Allow modules to persist data on the disk.

We must take into account how much space is available on the host's disk and ensure we leave some free space for other applications running in the system.

For the short term, we can start with a fixed limit on stored data, this limit should be configured from outside. (Station Desktop should use some reasonable default like 10GB, Station Core should let the operator decide how much space they are willing to offer.)

For the longer term, we should implement dynamic limits based on the actual available space at a given moment.

@bajtos
Copy link
Member Author

bajtos commented Apr 20, 2023

If we want to enable modules for Filecoin data onboarding, we must provide at least 32GB of storage, as that's the typical data unit.

Modules should have a way to check if the host machine has enough storage to perform the module's next task.

However, we may want to look for ways to provide this information without leaking the actual free disk space or other potentially-sensitive details about the host computer.

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

No branches or pull requests

1 participant