denoland / deploy_feedback

For reporting issues with Deno Deploy
https://deno.com/deploy
74 stars 5 forks source link

deno write/stor media file on deno deploy #170

Open elycheikhsmail opened 2 years ago

elycheikhsmail commented 2 years ago

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

ignoramous commented 2 years ago

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