Showing Post From Production-Debugging

99.5% of Our Transformations Were Uploads: The Nightly Sync That Cost Two Credits a Month

On weekends, our users mostly go home. Delivery requests to Cloudinary drop by 90%.

Transformations, the line we pay the most for, drop by 5%.

That gap held every week from July to October, and it’s the whole story.

Read more

88 GB of Files Nobody Points At: Archive First, Purge Later, and the Hibernate Hook Underneath

A quarter of the original files on our two Cloudinary accounts have nothing pointing at them. 88.6 GB, about 222,000 files, and the part of it we can count in the database grows by roughly 700 rows a day.

None of them can be identified by looking at the file. You have to look everywhere else.

Read more

‘Deleted 500’ Every Night for a Year: The Clean-Up That Never Left Page 1

Every night at 1 AM, for about a year, a scheduled job logged the same line: Deleted 500 export files from US Cloudinary tenant. Five times in a row, then it went back to sleep.

Over that same year, about 10,000 export files, 26 GB, piled up in the folder it was supposed to be emptying. Nobody complained, because nothing was slow.

Read more

Your Feature Flag Bill Is a Cache Key Problem

A client exceeded their feature flag vendor’s monthly request quota by 100%.

The two fixes everyone proposed were delete the dead flags and stop calling flags inside loops. Both are sensible. Both save exactly zero requests.

Read more

The Production Outage — Where the Fix Was Worse Than the Bug

One missing property line.

Two production outages.

The hot fix between them made the second one inevitable.

Read more

A Customer Couldn’t Upload an Invoice. The Fix Re-Taught Me XSD, JAXB, and Maven.

A Polish customer reports their invoice won’t upload.

The file looks valid. Other Polish customers upload fine.

Three days later I’ve read more of the Polish Tax Code than I’d like to admit.

Read more