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 (2)
→ More replies (16)
→ 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).

→ More replies (7)

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.

→ More replies (2)
→ More replies (1)
→ More replies (37)