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 #13

Open
nudles opened this issue Mar 31, 2020 · 6 comments
Open

Storage #13

nudles opened this issue Mar 31, 2020 · 6 comments

Comments

@nudles
Copy link
Contributor

nudles commented Mar 31, 2020

We have the following types of data to store

  1. dataset
  2. model (file or folder)
  3. model checkpoint
  4. query
  5. user
  6. job
  7. logs

We need to figure out the storage system, e.g., database (postgresql), key-value store (redis), NFS, distributed file system or cloud storage, for each type of data

@NLGithubWP
Copy link
Collaborator

one suggestion is:
for large-size data(dataset, model checkpoint), it may not suitable for storing in db since we need to do lots of db query in admin services, if the data is big, query will be very slow. we may use
distributed file system(hadoop) or cloud storage(eg, s3)

@nudles
Copy link
Contributor Author

nudles commented Apr 2, 2020

When the data file (zip) is large, there could be out-of-memory issue during the decompressing of the zip file after uploading.

@nudles
Copy link
Contributor Author

nudles commented Apr 4, 2020

Is there any distributed file systems optimized for machine learning tasks?
Can we deploy S3 in our own cluster?

@NLGithubWP
Copy link
Collaborator

i think we can

@nudles nudles pinned this issue Apr 28, 2020
@chrishkchris
Copy link
Contributor

chrishkchris commented May 11, 2020

@naili-xing FYI, you may also interested in HopFS as a distributed file system , which can be considered as an improved design of HDFS. Hopswork is using it as a distributed file system for machine learning platform.

Github:
https://github.com/hopshadoop/hops

Paper:
https://www.usenix.org/system/files/conference/fast17/fast17-niazi.pdf

Their ML platform Hopsworks:
https://www.logicalclocks.com/

@chrishkchris
Copy link
Contributor

In additional to the above comment, you may be interested in how the Hopswork utilize HopFS for metadata store, I suggest you study this code as reference https://github.com/logicalclocks/hopsworks

@chrishkchris chrishkchris unpinned this issue Dec 9, 2020
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

3 participants