Skip to content

Switch to content-addressible storage? #7

@PeterJCLaw

Description

@PeterJCLaw

Since we're really only storing one thing, it's not really required that we put it in a database.
We could for example move to storing the zip files on disk a bit like this:

archives
└── <tla>
    └── <sha25sum>.zip

We'd still need to serve the files ourselves in order to enforce our auth requirements, but this might be simpler to work with.

A downsides here is that adding metadata gets tricky. For example it's now a bit more effort to work out which was the most recent upload - we either rely on filesystem timestamps (fine, but may not have the nicest API) or munge it into the file names too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions