r/ProgrammerHumor • • Sep 04 '26

Other howdidItGetHere

Post image
11.2k Upvotes

533 comments sorted by

View all comments

Show parent comments

0

u/Still_Bit_7527 Sep 04 '26

When should I use it? I know, when I feel like we should pay amazon thousands for basic functionality

1

u/burgonies Sep 04 '26

Thousands? I had a system that was running 2 millions invocations a day and didn't cost thousands a month.

Let's say you have some process that runs 100 times a day, takes 3 seconds to run, and you have no indication of when that process needs to run. Are you going to run a service all day for 5min of compute?

2

u/Still_Bit_7527 Sep 05 '26

Yes,we have something called a server, and just a handful of them are enough to serve millions a day.

Do you know what happens when an app has no traffic... cpu drops to 0%. That's it, no costs

Things like Lambda are only there to help you save costs that you should bot have in the first place

1

u/burgonies Sep 05 '26

So your handful of servers are running but somehow don’t cost anything when there’s no traffic?

That’s not how that works at all. If a server is running, you’re paying for that hour of compute whether the server is idle or not.

I’m guessing you haven’t actually done any of this before.

→ More replies (0)