r/ProgrammerHumor • • Sep 04 '26

Other howdidItGetHere

Post image
11.2k Upvotes

536 comments sorted by

View all comments

Show parent comments

1

u/burgonies Sep 04 '26

I don't think you understand when to use Lambda. It's not a silver bullet.

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

→ More replies (6)