this post was submitted on 04 Jan 2024
113 points (95.9% liked)

Programming

16760 readers
228 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 36 points 7 months ago* (last edited 7 months ago) (3 children)

Either way that VPS will cost 10-20$ depending on CPU form a good provider. You can't get that cheap with a bunch of AWS services for that number of requests.

Also, if they were using an hyped tech stack (nodejs or wtv) they wouldn't be able to handle the request spikes like they do. 0.46 requests per second means nothing because I'm sure they've hours of full inactivity and others serving 10 requests / second that would totally obliterate 2GB of ram if done on nodejs and a Mysql DB.

[–] [email protected] 8 points 7 months ago

$10-20 is what that VPS costs at a cloud provider. You could also dockerize and use a container service like GCP Cloud Run combined with cloud storage within that budget.

I'm not a big node guy, but I also kind of doubt nodejs would fail to handle 10RPS on 2gb of memory. I guess it all depends on what the requests are doing.

[–] [email protected] 4 points 7 months ago* (last edited 7 months ago) (1 children)

10-20$ ? I think it is way cheaper. I doubt they need a good CPU, some vcores will do.


edit:

Here is an 8GB 6vcore ARM VPS from a reputable German server host for 7€

https://www.netcup.de/bestellen/produkt.php?produkt=3564

Here is a 2GB 2vcore x86 for 3.25€

https://www.netcup.de/bestellen/produkt.php?produkt=2948

Not to mention - they have regular deals, where you can get them for a permanent 50% off (during black friday and winter sales) I have been paying 17€ per year for the 2GB version.

[–] [email protected] 4 points 7 months ago (2 children)

You going for ultra cheap most likely that that reliable, I was pointing at companies like Digital Ocean.

[–] [email protected] 4 points 7 months ago

The netcup vps I have has a 100% uptime during the past 5 years. But no heavy use ofc, just wireguard

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago)

I've been using netcup for a decade. They're very reliable and high quality. (Management/Admin interface, functionality, help wiki. Never had reliability issues.)

I've used other providers before. I'm very satisfied with netcup.

[–] [email protected] 3 points 7 months ago

Indeed. They say they've been repeatedly featured on the front page of HN and the site didn't fall over, I've seen many examples that did.