←back to thread

804 points jryio | 1 comments | | HN request time: 0s | source
Show context
monster_truck ◴[] No.45663555[source]
Heroku's pricing is wild. About a decade ago I just about fell out of my chair when I found out the startup I was at was burning upwards of $10k/mo just to generate QR codes (made out of html tables so that they would reliably display in emails). It worked out to something like $0.15/code

The lead who wrote it had never even profiled code before, after some changes we cut it down to ~$0.01/per, but that's still insane.

replies(2): >>45663914 #>>45666088 #
system2 ◴[] No.45666088[source]
Were you not caching things and using a basic generator? Your comment really doesn't make any sense to me, no offense.
replies(1): >>45668993 #
objektif ◴[] No.45668993[source]
Sounds like they were generating codes with pure html not images.
replies(1): >>45676547 #
system2 ◴[] No.45676547[source]
It still doesn't even make sense to generate a lousy html which costs 0.15 each barcode. It shouldn't even cost 0.0001
replies(1): >>45681270 #
1. objektif ◴[] No.45681270[source]
Yes ofcourse that part makes no sense :)