crate / crate/crate

Blobs without a sha hash

Open
#2,981 14 comments 0 reactions 0 assignees View on GitHub
feature: blobs
Dominant language
Java
Stars
4.4k
Forks
616
Avg merge
14h 49m
Merged PRs (30d)
206

Description

The current system of crate requires a sha hash _before_ uploading data to crate. In practice this means that when I develop a web system it has to load the file to the server, calculate the hash on the web server and then send it to crate. There are two problems with this:
1. Files sent to the webserver are not necessarily small files (gigabytes?) which means that it can take the server a long time, a lot of i/o and it just reduces the "snappy-ness" of the system.
2. It either requires a lot of memory to support big files or storage on the webserver that I would like to have that small and sexy.

With this in mind I would like to ask for an API that offers to upload a Blob directly (without a prior hash calculation) to crate.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.