Re:Using Backblaze B2 and Cloudflare Workers for free image ...
by kaivi on Sunday August 25, 2019 @03:00PM
(#20794794)
My case was really simple. I was done with my ML pipeline and nuked the database, but pics in B2 remained with no quick way to get rid of them and/or to stop the recurring credit card charges.
IMO an "Empty" button should have been implemented by Backblaze.
There are lots of problem spaces where deletion is expensive and so is time shifted not to align with peak system load. Some sort of reaper goes around tidying up as it can.
But I think by far my favorite variant is amortizing deletes across creates. Every call to create a new record pays the cost of deleting N records (if N are available). This keeps you from exhausting your resource, but also keeps read operations fast. And the average and minimum create time is more representative of the actual costs incurred.
Variants of this show up in real-time systems.