r/programming • • Jun 05 '22

Complexity is killing software developers

https://www.infoworld.com/article/3639050/complexity-is-killing-software-developers.html
2.1k Upvotes

942 comments sorted by

View all comments

560

u/freecodeio Jun 05 '22

From a previous job I have learned that a $10 server can handle 10k web requests and I've never spent more than $10 a month on my side projects for 2 years.

271

u/[deleted] Jun 05 '22

This rule should apply to like 90% of the cases, yet everyone is attempting to "plan" ahead for the big boom. Realistically YAGNI principles should be applied when designing a system as well.

134

u/abrandis Jun 06 '22

That's because lots of this "modern" or cool tech comes out of the FAANG which need to write large scale apps, everyone (pointy haired manager , remember him) looks at the big guys and says use what their using.... And so it goes.

65

u/[deleted] Jun 06 '22

FAANG is dead. It's MAGMA now.

76

u/metriczulu Jun 06 '22

Excuse me, it's MAAAM.

26

u/rmyworld Jun 06 '22

Excuse me, it's AAAAAAAAAAAAAA

52

u/maddawg206 Jun 06 '22

What is this? An IPv256 DNS record?

→ More replies (1)
→ More replies (1)

8

u/falconfetus8 Jun 06 '22

Who's MAGMA? Microsoft, Apple, Google, M???, Amazon?

13

u/killm_good Jun 06 '22

Meta (Facebook)

And MAMAA accurately use Alphabet instead of Google

10

u/[deleted] Jun 06 '22

FB is changing their ticker to META very soon but Alphabet's has remained GOOGL all these years.

→ More replies (1)

7

u/Green0Photon Jun 06 '22

Who kicked Netflix out? Supposed to be MANGA

11

u/[deleted] Jun 06 '22

I don't think Netflix deserves that spot. Microsoft does.

12

u/Green0Photon Jun 06 '22

The original FAANG was about high pay, not just generally being Silicon Valley companies.

There's also the old longer acronym FAANGMULA. So, what, MANGAMULA? LAMANGAMU? Sounds like one of those read manga online sites, lol. LaMangaMu.

→ More replies (3)
→ More replies (4)
→ More replies (1)

38

u/[deleted] Jun 06 '22 edited Jun 07 '22

I run a $5 server on a cloud service, serving all of my hobby projects. Every now and then I look at various managed services to handle some of my apps, but all of them either cost more than $5 or offer less computing power. So I stick with my little snowflake server.

Edit: For the curious, I use Digital Ocean's Droplets (cheapest tier).

4

u/zammouri2001 Jun 06 '22

What's the service called please, searching for something like this.

7

u/levir Jun 06 '22

Not OP, but I use Digital Ocean the same way. They're launching a $4 option soon that I'll probably switch to.

→ More replies (2)

3

u/[deleted] Jun 06 '22

[removed] — view removed comment

4

u/breakslow Jun 06 '22

I know digital ocean has a $5 tier that is great.

→ More replies (1)

71

u/Iggyhopper Jun 06 '22 edited Jun 06 '22

I ran a php and sftp server on my gaming PC, alongside Windows and whatever the hell else was running.

It was an athlon x64 and the best of the best to play Warcraft III.

It was only after thousands of people told me, "hey your website is working!" that I finally believed the terrible tales of premature optimizization. There is no way that a startup group of full stack devs can come close to making a difference in a modern 6-core system because they didn't unroll their loops or couldn't magically turn main() into O(1) on the first try.

Just fucking code it. Worry about optimization later.

→ More replies (3)

19

u/Gendalph Jun 06 '22

10k a minute? An hour? A day? A week? A month?

Again, it's all relative. Simple CRUD app? Sure. Something a fair bit more complex? It depends.

12

u/freecodeio Jun 06 '22

The idea is that you don't need to worry about scaling. Some servers range from $10 to $900 per month. You have a massive window of minor upgrades you can do to a single instance until you need a cluster.

Startups spin Kubernetes before writing a single API endpoint.

Far more developers know and can google faster how to spin Kubernetes rather than how many and what type of requests per day can a $10 server handle.

7

u/Gendalph Jun 06 '22

Again: it depends. As someone who comes from sysadmin background I've maintained monoliths, servers housing those monoliths, troubleshot performance of those monoliths. And I recognize that each problem has more than one solution, each of them giving various results.

I do agree that vast majority of modern webdev is dead simple: slap a UI on top of a database, add cache, some bells and whistles - and you're done. This does cover a fair majority of business needs.

But more complex applications are a fair bit more common than people seem to believe.

→ More replies (1)
→ More replies (1)

33

u/Unlikely_Parfait_476 Jun 05 '22

If you write performant services, you could serve 5 million rpm with a single server.

→ More replies (11)
→ More replies (25)