4 ms·
Really interesting, will R2 support lifecycle rules like S3 does? We write around 90 million files per month to S3, if we could replace that with R2 and have th
by aclelland 5y ago
Really interesting, will R2 support lifecycle rules like S3 does? We write around 90 million files per month to S3, if we could replace that with R2 and have the files automatically expire after 30 days that'd be a pretty amazing price reduction for us.
- acdha 5y agoThey appear to be focused on an automatic version: > Behind the scenes, R2 automatically and intelligently manages the tiering of data to drive both performance at peak load and low-cost for infrequently requested objects. We’ve gotten rid of complex, manual tiering policies in favor of what developers have always wanted out of object storage: limitless scale at the lowest possible cost.
- Heliosmaster 5y agoGP isn't mentioning lifecycle to change storage tier, but to delete the files after some time.
- acdha 5y agoYou're quite right — I think I was primed by a different mention of S3's intelligent tiering in this thread.
- greg-m 5y agoHey, I'm the PM for R2. We support per-object TTLs, so this should work!
- ec109685 5y agoThe full lifecycle support s3 has is really powerful. One use case we have for ugc content is disallowing online serving systems the ability to permanently delete an object. Instead the object is marked as deleted and then automatically cleaned up after 30 days.
- aclelland 5y agoYeah that'd work for us! Just signed up for access :)