your media files have an expiration date
A photo uploaded to your app today gets views. The same photo from two years ago sits in storage, loaded maybe once when someone scrolls back through an old profile. You pay the same rate for both....

Source: DEV Community
A photo uploaded to your app today gets views. The same photo from two years ago sits in storage, loaded maybe once when someone scrolls back through an old profile. You pay the same rate for both. I have seen this pattern in every media-heavy application I have worked on. The hot data is a thin slice. The cold data grows without stopping. If you treat all objects the same, your storage bill reflects the worst case: premium pricing for data nobody touches. Tigris gives you two mechanisms to deal with this. You can transition old objects to cheaper storage tiers, or you can expire them outright. Both happen on a schedule you define. This post covers when and how to use each one. how media access decays Think about a social media feed. A user uploads a photo. For the first week, that photo appears in followers' feeds. It loads fast because your CDN caches it. After a month, the photo surfaces only when someone visits the user's profile. After a year, it loads during an occasional deep sc