News for hackers. Stuff that matters.
Re:Cost of serving billions of images per month by m0zg on Saturday May 04, 2019 @11:34PM (#19830966)
Why would it depend on request rate rather than upload rate? Just pre-scale several variants on upload. Then run an MR job every now and then and delete the variants that haven't been touched for more than e.g. a month. Scale those on demand, store recents and frequently accessed pre-scaled. This is literally a few days of work.
Re:Cost of serving billions of images per month by manigandham on Sunday May 05, 2019 @02:54AM (#19831547)
It's much nicer to be able to resize on demand. Many CDNs and image/file hosting services offer transform abilities via URL which makes it easy to get exactly what you need and optimize for every site and device.

But since images are immutable, this is a perfect use-case for lambda functions fronted by a CDN.

Re:Cost of serving billions of images per month by puzzle on Sunday May 05, 2019 @09:32AM (#19832708)
I bet there's a very long tail, i.e. the majority of images are rarely accessed, if ever.