top | item 43687865

(no title)

jhgg | 10 months ago

$5 to resize 1,000 images is ridiculously expensive.

At my last job we resized a very large amount of images every day, and did so for significantly cheaper (a fraction of a cent for a thousand images).

Am I missing something here?

discuss

order

jsheard|10 months ago

It's the usual PaaS convenience tax, you end up paying an order of magnitude or so premium for the underlying bandwidth and compute. AIUI Vercel runs on AWS so in their case it's a compound platform tax, AWS is expensive even before Vercel adds their own margin on top.

cachedthing0|10 months ago

I would call it ignorance tax, paas can be fine if you know what you are doing.

mvdtnz|10 months ago

You're not missing anything. A generation of programmers has been raised to believe platforms like Vercel / Next.js are not only normal, but ideal.

BonoboIO|10 months ago

Absolutely insane pricing, maybe for small blogs, but didn’t they calculate this trough?

Millions of episode, of course they will be visited and the optimization is run.

ilyabez|10 months ago

Hi, I'm the author of the blog (though I didn't post it on HN).

The site was originally secondary to our business and was built by a contractor. It was secondary to our business and we didn't pay much attention until we actually added the episode pages and the bots discovered them.

I saw a lot of disparaging comments here. It's definitely our fault for not understanding the implications of what the code was doing. We didn't mention the contractor in the post, because we didn't want to throw them under the bus. The accountability is all ours.

Banditoz|10 months ago

Yeah, curious too.

Can't the `convert` CLI tool resize images? Can that not be used here instead?

giantrobot|10 months ago

Whoa there Boomer, that doesn't sound like it uses enough npm packages! It also doesn't sound very web scale. /s