News for hackers. Stuff that matters.
Re:Ask HN: What is the most useless project you have been wo... by windowshopping on Friday April 05, 2024 @07:42PM (#39948597)
It seems they all do, though. Digital ocean was the same.
Re:Ask HN: What is the most useless project you have been wo... by Tijdreiziger on Friday April 05, 2024 @08:14PM (#39948820)
Any decent VPS provider (including DigitalOcean, unless they’ve changed anything) definitely doesn’t do this.
Re:Ask HN: What is the most useless project you have been wo... by windowshopping on Friday April 05, 2024 @08:27PM (#39948895)
Maybe you're right, I may be mistaken. Perhaps I should migrate to DO.
Re:Ask HN: What is the most useless project you have been wo... by Tijdreiziger on Friday April 05, 2024 @09:00PM (#39949054)
Actually, I should qualify this.

If you use a PaaS (platform as a service, e.g. Heroku, DO App Platform, AWS EB), they might assume your app to be stateless and do things like restart it at will.

If you use a VPS (virtual private server, e.g. DO Droplet, AWS EC2), this certainly shouldn’t happen, but of course it requires some Linux skills to maintain your VPS.

So it’s basically a trade-off between engineering your app to fit a PaaS or hand-managing your VMs (though the latter is usually the cheaper option).

Re:Ask HN: What is the most useless project you have been wo... by windowshopping on Friday April 05, 2024 @10:00PM (#39949383)
Yeah, indeed. I can try using a Droplet but I'm just new to managing a VM by hand. I've always used a PaaS for my projects so ensuring uptime and whatever other responsibilities there may be is new for me.
Re:Ask HN: What is the most useless project you have been wo... by svnt on Saturday April 06, 2024 @07:29PM (#39956644)
If that’s the case I’d suggest you probably have a bug in your code somewhere that depends on a timer that resets at midnight. So when it spans midnight everything resets, but this isn’t the server resetting.