aleph icon indicating copy to clipboard operation
aleph copied to clipboard

Storing the samples

Open neriberto opened this issue 9 years ago • 2 comments

Hi,

I was thinking in save the samples in a separate directory, based in your sha256, similar to project VxCage (https://github.com/neriberto/vxcage/blob/master/utils.py#L33).

What do you think about it guys?

neriberto avatar Mar 02 '15 14:03 neriberto

The samples are flatly stored on the samples directory. I know this has issues with number of files and such and the beginning of the hash should be used as directory.

Thing is the whole sample storage will be refactored to support pluggable storages, like plugins, user may choose from different storage types / approaches.

This is still to be discussed. Any ideas are appreciated.

jseidl avatar Mar 08 '15 12:03 jseidl

You may want to see Django File Storage API to extract some ideas to design this plugin system. ;-) People use it to implement many kinds of storage for Django, such as uploading directly to AWS S3, MongoDB etc. You can look at how to write a custom storage system.

turicas avatar May 30 '15 03:05 turicas