Company
Date Published
Jan. 25, 2023
Author
Amin Amos
Word count
826
Language
English
Hacker News points
None

Summary

Deleting digital files can be permanent and irreversible, which is why it's crucial to consider the implications before doing so. In cost-optimization efforts, deleting assets may reduce storage costs but also hinder troubleshooting potential issues and remove end user access to videos. To navigate this issue, consider implementing a "soft delete" approach where files are marked for deletion in the application and removed from view after an expiration period. Alternatively, move assets to cold storage or use test streams and assets during early-stage development. Ultimately, it may be best not to allow end users to delete videos directly, as retrieving deleted assets is generally not possible.