deploy_feedback icon indicating copy to clipboard operation
deploy_feedback copied to clipboard

deno write/stor media file on deno deploy

Open elycheikhsmail opened this issue 2 years ago • 1 comments

Problem One of probleme with serverless/edge platform that they doesn't support writing in file system  for example let's imagine if I develop/write web app that allow client to upload file then I store file reversed by client using Deno.write API ( to be sure  I test my app in local and all tests passed 100 %) then I want to deploy my app in deno deploy (or similar) I must update my ts code to store file in s3 (or equivalent ) I aime to have possibility to deploy this app on deno depliy without change my code

Solution proposed I think it will be usefull to support async Deno.write  API in deno deploy payed plan(I know it not exist yet). under the hood deno deploy can use s3 or equivalent this will minimise neede to change/config code when ready for production. N.B we understand write not supported in deno deploy for security perpose ... and there are service dedicate for this like s3

elycheikhsmail avatar Feb 11 '22 12:02 elycheikhsmail

If not a block store, then the Cache Web API would do just as nicely, as well.

ignoramous avatar Feb 13 '22 10:02 ignoramous