News for hackers. Stuff that matters.
Re:Escaping Surprise Bills and Over-Engineered Messes: Why I... by ZYbCRq22HbJ2y7 on Tuesday February 04, 2025 @12:53AM (#42928560)
Seems like a pointless thing to talk about, "most web projects today". You don't know what specific requirements people have, and people have been making "web projects" with limited resources since the web started.

Yet, for some reason, I see this repeated everywhere, always. Does it make the people who repeat it feel better? Are they actually informing anyone of anything? Who knows.

Re:Escaping Surprise Bills and Over-Engineered Messes: Why I... by addicted on Tuesday February 04, 2025 @01:06AM (#42928641)
I don’t see a refutation or even disagreement with the claim in your comment. Are you saying that this is too obvious to restate?
Re:Escaping Surprise Bills and Over-Engineered Messes: Why I... by ziddoap on Tuesday February 04, 2025 @01:10AM (#42928669)
The implied refutation of "You don't know what specific requirements people have" is that there will be people with specific requirements that a Pi/Mini PC obviously doesn't meet.
Re:Escaping Surprise Bills and Over-Engineered Messes: Why I... by lostmsu on Tuesday February 04, 2025 @01:41AM (#42928883)
Like what?
Re:Escaping Surprise Bills and Over-Engineered Messes: Why I... by panja on Tuesday February 04, 2025 @02:09AM (#42929089)
Any type of redundancies.. Geo, power, network. There's a million possible reasons why someone can't just deploy on a pi and call it a day.
Re:Escaping Surprise Bills and Over-Engineered Messes: Why I... by post-it on Tuesday February 04, 2025 @02:19AM (#42929178)
Do you need that? If a storm knocks my power out for a couple hours and my side project has an outage, that's fine.
Re:Escaping Surprise Bills and Over-Engineered Messes: Why I... by kikimora on Tuesday February 04, 2025 @05:38AM (#42930695)
This is side project, not typical web project. For a typical web project stability and safety of data are paramount.
Re:Escaping Surprise Bills and Over-Engineered Messes: Why I... by taurknaut on Tuesday February 04, 2025 @08:24AM (#42931987)
I think you mean "critical business" not "typical web project", which is not critical to anything.

Granted, I'm sure the average engineer will be very relieved to find out they're paramount to production.

Re:Escaping Surprise Bills and Over-Engineered Messes: Why I... by taurknaut on Tuesday February 04, 2025 @08:21AM (#42931957)
If you're making money off a project I suspect you're generally too far gone for advice. Then again I suppose you don't need it.
Re:Escaping Surprise Bills and Over-Engineered Messes: Why I... by mhovan on Tuesday February 04, 2025 @10:25AM (#42933494)
One Million Checkboxes seems like a candidate:

https://en.m.wikipedia.org/wiki/One_Million_Checkboxes

Re:Escaping Surprise Bills and Over-Engineered Messes: Why I... by lostmsu on Tuesday February 04, 2025 @11:51AM (#42934982)
It looks like RPi should be able to handle that.
Re:Escaping Surprise Bills and Over-Engineered Messes: Why I... by taurknaut on Tuesday February 04, 2025 @01:36AM (#42928853)
> You don't know what specific requirements people have

This is actually pretty apparent if you camp a web forum. People seem to either need a raspberry pi or a data center: this is the typical web-app vs mmorpg divide amongst possible computational fantasies people have. Questioning what motives people have is very sensible.

Re:Escaping Surprise Bills and Over-Engineered Messes: Why I... by YetAnotherNick on Tuesday February 04, 2025 @01:14AM (#42928702)
Not only that, people always assume that you need complicated dependencies if they use AWS and compare any of the other company's stack with their raspberry pi. They can use AWS lightsail just fine for $5 if they just need a VM.
Re:Escaping Surprise Bills and Over-Engineered Messes: Why I... by darkwater on Tuesday February 04, 2025 @02:17AM (#42929156)
If you just need a VM why not a plain EC2 instance? Why are you adding already lock-in to the secret sauce?
Re:Escaping Surprise Bills and Over-Engineered Messes: Why I... by graemep on Tuesday February 04, 2025 @03:02AM (#42929484)
lightsail is just an EC2 instance plus storage. Its pretty much just a VPS. No extra locking. Its what I push people determined to use AWS because of the branding towards.
Re:Escaping Surprise Bills and Over-Engineered Messes: Why I... by theshrike79 on Tuesday February 04, 2025 @05:46AM (#42930761)
IMO if you're using plain EC2 alone you should not be using AWS anyway.

Go grab a similar server from Hetzner or something.

Re:Escaping Surprise Bills and Over-Engineered Messes: Why I... by YetAnotherNick on Tuesday February 04, 2025 @06:06AM (#42930895)
Lightsail is cheaper, but lacks additional enterprise-y features like VPC.
Re:Escaping Surprise Bills and Over-Engineered Messes: Why I... by bschwindHN on Tuesday February 04, 2025 @10:55PM (#42943549)
That's fair too, those $5 a month machines can also serve you well as long as you can limit bandwidth charges if you suddenly end up with a lot of traffic.
Re:Escaping Surprise Bills and Over-Engineered Messes: Why I... by bschwindHN on Tuesday February 04, 2025 @10:52PM (#42943522)
I might be biased since I posted the comment, but I don't think it's pointless :)

It's worth repeating, if only to raise awareness among devs that modern computers are _extremely_ fast. You can start a new one with commodity hardware and it will probably serve your needs for the lifetime of the project. If your project gets so popular/successful that you need more than a single machine, then I would hope by that point you know how to move it onto a cluster of machines, or into the cloud if the economics make sense.

I say "most web projects" because it's true - most web projects are simple CRUD apps in slightly different forms. Sure, there are some up-and-comers using AI to burn half a data center to produce fake comments and images for internet forums. Those won't run on a Pi or single mini PC. But people are making _so_ many web apps that will never see more than a few hundred or thousand users. Those don't need multi-instance load-balanced highly-available infinite-scaling systems to serve their users needs. That usually just adds cost and complexity until you're at a point where you _really_ need it.