he 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:
- 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.
- 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.