News for hackers. Stuff that matters.
Re:Remind HN: Heroku will delete all free dbs and shut down ... by lkrubner on Saturday November 26, 2022 @05:14PM (#33757361)
A fun fact (and I'm not violating any NDA here) my client https://paireyewear.com is growing very fast and last year they raised $73 million from VC investors. They have their main store on Shopify, so they didn't need too much on the backend: only their CRM for keeping customers happy and handling returns and damaged goods and refunds and special sales. Also, on the backend, they had all the integrations with the 3PL, that is, 3rd Party Logistics, which is to say, they worked with external warehouses, because they weren't ready to have their own warehouses. They did have integrations with the warehouses so they could track inventory levels.

So the fun fact is this: they were running entirely on free Heroku dynos. This year they successfully transferred to AWS, but they got to a fairly big scale while running entirely on free Heroku dynos. I'm still kind of amazed by that.

Re:Remind HN: Heroku will delete all free dbs and shut down ... by rubyist5eva on Saturday November 26, 2022 @05:30PM (#33757507)
Why did they not just start paying for Heroku?
Re:Remind HN: Heroku will delete all free dbs and shut down ... by rekttrader on Saturday November 26, 2022 @05:47PM (#33757659)
They’re part of the reason it’s not free any more.
Re:Remind HN: Heroku will delete all free dbs and shut down ... by gl-prod on Saturday November 26, 2022 @05:51PM (#33757706)
Well, Salesforce could have made the free dynos non-commercial only
Re:Remind HN: Heroku will delete all free dbs and shut down ... by 999900000999 on Saturday November 26, 2022 @09:34PM (#33759573)
That's even worse, so when your hobbyist project accidentally makes 40$ Salesforce can send it's legal team after you?
Re:Remind HN: Heroku will delete all free dbs and shut down ... by Marsymars on Saturday November 26, 2022 @10:47PM (#33760104)
I would prevent any hobbyist project of mine from making $40 for tax reasons alone, where the difference the to tax authorities between $0 and $40 is basically the same as the difference to a Saleforce non-commercial clause. At $0 I don’t have to do anything about taxes. At $40 it’s immediately in the red due to whatever time I have to spend sorting out taxes for $40 in revenue.
Re:Remind HN: Heroku will delete all free dbs and shut down ... by TJSomething on Sunday November 27, 2022 @03:03AM (#33761300)
I'm not an accountant, but for the US in 2021, that was Form 1040, Schedule 1: Additional Income and Adjustments to Income, Part 1: Additional Income, line 8: Other income, sub-line i: Activity not engaged in for profit income. You would just put $40 on that sub-line and add it to your adjusted gross income. If you made only $40 on it, I don't it can reasonably be called self-employment income, per Publication 535.

[0] https://www.irs.gov/instructions/i1040gi#en_US_2021_publink1...

[1] https://www.irs.gov/pub/irs-pdf/p535.pdf

Re:Remind HN: Heroku will delete all free dbs and shut down ... by Marsymars on Sunday November 27, 2022 @10:44AM (#33763654)
Right, and I'm not in the US, but my point is that even if it is that simple, figuring that out for my country and filling out the form is going to take more than $40 worth of my time, and introduces downside risk that I've gotten it wrong somehow.
Re:Remind HN: Heroku will delete all free dbs and shut down ... by crazysim on Saturday November 26, 2022 @06:39PM (#33758176)
How could they stay on free dynos? You can't be running on a free dyno 24/7. It's like 16/7 or something.
Re:Remind HN: Heroku will delete all free dbs and shut down ... by ztgasdf on Saturday November 26, 2022 @06:55PM (#33758329)
If I'm not mistaken, if you gave Heroku a valid credit card, it would add a few hundred extra hours for your dynos.
Re:Remind HN: Heroku will delete all free dbs and shut down ... by orliesaurus on Saturday November 26, 2022 @07:36PM (#33758694)
that's correct, you could be have it on 247 with trick!
Re:Remind HN: Heroku will delete all free dbs and shut down ... by davidmurdoch on Saturday November 26, 2022 @09:20PM (#33759444)
I have several legacy free tier dynos that don't have the restriction. They run 24/7, at least for another day or so.
Re:Remind HN: Heroku will delete all free dbs and shut down ... by jrochkind1 on Saturday November 26, 2022 @11:23PM (#33760332)
That was at one point true, but hasn't been true for at least a few years.

Heroku could have gone back to that i suppose, instead of getting rid of free dynos entirely, but they didn't.

Still... I think you could basically only run one free dyno per account 24/7. I am curious if they somehow fit their entire production in one free dyno, or were somehow splitting things between multiple accounts, or what.

Re:Remind HN: Heroku will delete all free dbs and shut down ... by arcturus17 on Saturday November 26, 2022 @07:21PM (#33758574)
Cool story (really), but what were they hosting on Heroku then?
Re:Remind HN: Heroku will delete all free dbs and shut down ... by PragmaticPulp on Saturday November 26, 2022 @07:41PM (#33758733)
> they were running entirely on free Heroku dynos. This year they successfully transferred to AWS, but they got to a fairly big scale while running entirely on free Heroku dynos.

I’ve read so many of these stories now that I understand why Heroku is phasing out the free tier.

It’s kind of fascinating to see how some engineers see free tier limits as an optimization target. I wonder how many engineering hours across the industry went into arbitrarily keeping services small enough to fit in the free tier.

Re:Remind HN: Heroku will delete all free dbs and shut down ... by josephcsible on Saturday November 26, 2022 @08:24PM (#33759052)
> I’ve read so many of these stories now that I understand why Heroku is phasing out the free tier.

To me, those stories seem like good arguments for reducing the usage limits of the free tier, but not getting rid of it entirely.

Re:Remind HN: Heroku will delete all free dbs and shut down ... by nomilk on Saturday November 26, 2022 @08:50PM (#33759227)
You don't need to profit off every single customer. Many business models make 90%+ of their revenue from 'whales' and crumbs from the rest. Optimising for consistent margin from every single customer could be a waste of time; a distraction, and could even hurt a business.
Re:Remind HN: Heroku will delete all free dbs and shut down ... by quickthrower2 on Sunday November 27, 2022 @05:26AM (#33761898)
Why do all the big clouds have generous free tiers with reasonable limits then?
Re:Remind HN: Heroku will delete all free dbs and shut down ... by yumraj on Saturday November 26, 2022 @08:45PM (#33759201)
> I wonder how many engineering hours across the industry went into arbitrarily keeping services small enough to fit in the free tier.

Why is that wrong? If everyone optimized their services and applications like it used to be in the past, well substantially bring down compute and memory requirements and reduce overall bloat.

Re:Remind HN: Heroku will delete all free dbs and shut down ... by dcow on Saturday November 26, 2022 @09:17PM (#33759429)
It’s not, strictly? It’s just more of a tragedy of the commons.
Re:Remind HN: Heroku will delete all free dbs and shut down ... by slang800 on Saturday November 26, 2022 @09:59PM (#33759742)
Heroku is not "the commons", they're a company and people are playing within the rules that they set out.
Re:Remind HN: Heroku will delete all free dbs and shut down ... by brhsagain on Saturday November 26, 2022 @10:35PM (#33760016)
This has to be the analog of "the first amendment only protects you from government restrictions on speech" in this conversation.
Re:Remind HN: Heroku will delete all free dbs and shut down ... by slang800 on Saturday November 26, 2022 @10:58PM (#33760178)
Heroku can protect itself from abuse of its free tier by changing the rules - which they eventually did.

I'm sure that the only reason why they kept the free tier as long as they did was because it brought in enough users (who were eventually converted into paying customers) to be worth the cost.

Re:Remind HN: Heroku will delete all free dbs and shut down ... by xeromal on Sunday November 27, 2022 @12:40AM (#33760704)
I think it's more of sadness that abuse took it away. It would be nice if hobbyists only used the free tiers and not successful businesses.
Re:Remind HN: Heroku will delete all free dbs and shut down ... by CactusOnFire on Sunday November 27, 2022 @01:28AM (#33760883)
This is definitely the "software engineer" way of conceptualizing and solving the problem. You have discrete limitations, you optimize around them.

This is clearly not "working at intended" though and I'd like to believe everyone knows that, including the people building this system.

Re:Remind HN: Heroku will delete all free dbs and shut down ... by dcow on Sunday November 27, 2022 @03:42AM (#33761480)
Of course it’s well within Heroku’s domain to structure their services however they choose. The tragedy is that if everyone uses the platform’s free tier to maximum utility in a self beneficial way, it exhausts the resources available and the common utility ceases to exist. So it’s not ethically wrong as was my response to the GGP. But it’s functionally “wrong” because it exhausts the common resource.
Re:Remind HN: Heroku will delete all free dbs and shut down ... by rwoerz on Sunday November 27, 2022 @12:55AM (#33760764)
If a service is broken down into n microservices such that each of them fits into the free tier, these n microservices are likely to consume more resources in total.
Re:Remind HN: Heroku will delete all free dbs and shut down ... by pifm_guy on Sunday November 27, 2022 @06:22AM (#33762184)
One day, compute requirements will be part of a companies eco-statement.

Eg. Amazon will be forced to say 'For every item purchased from Amazon, 370 grams of CO2 are emitted by our servers and other business operations :-P'

Re:Remind HN: Heroku will delete all free dbs and shut down ... by devoutsalsa on Saturday November 26, 2022 @08:49PM (#33759223)
I like free shit that doesn’t suck.
Re:Remind HN: Heroku will delete all free dbs and shut down ... by zincly on Saturday November 26, 2022 @07:47PM (#33758763)
Shopify does logistics now too, you could use that and get rid of the whole backend altogether. Disclosure, I work there.
Re:Remind HN: Heroku will delete all free dbs and shut down ... by quickthrower2 on Sunday November 27, 2022 @05:27AM (#33761907)
Perhaps conways law is now more about cloud pricing tiers tham teams!