Live data from Hacker News

Heroku has been running a second copy of my scheduler instance

openfolder.sh

71–80 of 132 posts

Re: Heroku has been running a second copy of my scheduler instance

#71
When heroku first came out they introduced so many wonderful new things that blew the development community away. Many people including myself were inspired by their work. They did serverless before serverless even existed as a marketing concept.

But I guess having salesforce buying them out pretty much stalled their progress, and over time leading them to where they are today.

Anyway this is why we're building something to continue to innovate in this space, there is a lot to do. https://instellar.app

Re: Heroku has been running a second copy of my scheduler instance

#72
post #54
post #53

Friendly reminder that if you want Heroku-like deployments for simple projects you can go and roll your own with https://github.com/piku :)

Or dokku, which is to a very high degree compatible with heroku too.

Dokku is amazing if you just want to get your stuff deployed behind a https domain.

It allows the average developer (me) to spin up docker containers behind HTTPS subdomains together with postgres and other popular services from nothing within less than half an hour.

Re: Heroku has been running a second copy of my scheduler instance

#73
post #58

Earlier quoted context omitted.

> fear of changing DNS settings Is that really a thing, with HNers of all people? You just use your registrar's/nameserver operator's web tool to point your DNS name to a new IP. Transferring your DNS to a new registrar might be a bit more involved but is guaranteed to be also possible by domain market regulation. Or maybe it is a problem of cache invalidation and/or lack of control over exact timing of DNS switchove…

> Is that really a thing, with HNers of all people? You want it to be hitless. Unfortunately DNS can take days to fully propagate and you may not see mistakes until it's too late to fix them. This can cause horrifying outages. HNers should be respectful of DNS changes and plan accordingly.

I always setup a reverse proxy on the old server that tunnel all TCP traffics on port 80 and 443 to the new server whenever I migrated a website for this reason. Some network really take their time updating their DNS cache, even if your domain has low TTL.

Re: Heroku has been running a second copy of my scheduler instance

#74
post #46
post #23

Not sure if you have done this already but: If you rotate your database, redis and email provider passwords/tokens, the zombie process might still be running but will not have any effects any more.

OP here: that’s a good idea that did come up to mind (specifically rotating the Redis queue credentials). I was just sure Heroku’s gonna take care of this shit by now. BTW, I’m not 100% sure it’ll work: if Heroku updates that zombie dyno’s environment variables, it may still have access to the new credentials :/ (My Redis instance is also a Heroku add-on)

> BTW, I’m not 100% sure it’ll work: if Heroku updates that zombie dyno’s environment variables, it may still have access to the new credentials :/ (My Redis instance is also a Heroku add-on)

If the configuration only read once during startup, the celery process won't use the new configuration unless it's restarted, right?

Re: Heroku has been running a second copy of my scheduler instance

#75

>> So is it Celery then? This awesome library has its fair share of complaints about duplicated task execution — most are due to misconfiguration. I scanned dozens of Stack Overflow threads and GitHub issues in Celery’s repository. Very few were relevant to my case, and none of the fixes were. I was so annoyed by the pain of configuring Celery I stopped my project and wrote my own job queuing system. Job and message…

i wanna love celery but it's damn bloated that i gave up on using it.

nowadays, if i need to connect to rabbitmq directly, i just use pika/aio-pika, which are lower level, but a LOT more reliable and lightweight.

Re: Heroku has been running a second copy of my scheduler instance

#76
post #53

Friendly reminder that if you want Heroku-like deployments for simple projects you can go and roll your own with https://github.com/piku :)

or cloud66.com - creates an environment like Heroku but on your servers on any cloud, plus you get 1 free server per application.

Re: Heroku has been running a second copy of my scheduler instance

#77
post #70

Earlier quoted context omitted.

I have been mulling over switching from Netlify to Vercel for a while for my personal site too. Netlify has weird defaults for everything. It caches almost nothing by default. I had to create a Netlify headers file to tell them that actually yes I would like my CSS, JS, and fonts cached. Absolutely absurd I had to do that. Even for font files. Because as we all know, the font files change so often that we should neve…

Careful now, if you use Netlify’s _headers to do caching the obvious way, every time you push a new build, some of your users may get a broken site that can only be unfucked by clearing cache. I happened to have written about this problem a few days ago: https://news.ycombinator.com/item?id=35508640

OK so move to vercel and just dont use Netlify fam

Re: Heroku has been running a second copy of my scheduler instance

#78
post #41

Earlier quoted context omitted.

Netlify did this to me too! I have my startup with them and pay them a hefty bill. I had my personal websites on a second account (that should have been a free plan - one deploy every three years, next to zero traffic), and they deleted them and continue to bill me. I've had multiple customer service interactions asking them to stop billing me and they're nothing short of rude and unhelpful. "We've told you the dozen…

I have been mulling over switching from Netlify to Vercel for a while for my personal site too. Netlify has weird defaults for everything. It caches almost nothing by default. I had to create a Netlify headers file to tell them that actually yes I would like my CSS, JS, and fonts cached. Absolutely absurd I had to do that. Even for font files. Because as we all know, the font files change so often that we should neve…

Render.com is a great replacement for both Netlify and Heroku. Check it out, static sites are even free.

Re: Heroku has been running a second copy of my scheduler instance

#79
https://caprover.com FTW - just host everything yourself. you can host multiple services without any problem on a 5$ VPS nowadays, especially if you using just a simple SSR webapp, some lightweight backend and sqlite db. as soon as your hardware is not keeping up with your demand, you make enough money to scale vertically.

Re: Heroku has been running a second copy of my scheduler instance

#80
There's been a lot of complaints about Heroku recently, and I think there will be a lot more.

I believe that Heroku under the Salesforce's management is a different product that a lot of developers are used to.

It's now in a Cash cow stage: https://en.wikipedia.org/wiki/Cash_cow. Salesforce is trying to extract as much revenue as possible from the company they bought. And guess what - the real margins doesn't come from SMBs and individuals - they come from larger companies with large contracts.

Heroku is no longer building a product for ordinary developer's side-project, or for SMBs or early-stage startups. They are building a product for larger accounts paying 25k+/month.

Customers that are expecting the old Heroku experience just need to look somewhere else. There are a lot of alternatives (such as render.com and many others). But the truth is, none of them is as good as Heroku. Luckily, these PaaS alternatives are getting better as we speak.

There are also different alternatives, such as https://stacktape.com (disclaimer: I'm a founder). For example, Stacktape offers PaaS-like experience directly within your own AWS account. It offers developer-friendly experience, and allows developers to deploy their apps entirely on their own, while at the same time offering the full power and flexibility of AWS.

Post reply on HN