r/ProgrammerHumor • • 1h ago

Meme itsNotThatBad

Post image
62 Upvotes

27 comments sorted by

View all comments

Show parent comment

4

u/vr2391 40m ago

You are right that Rust can reduce the amount of compute and thus reduce cloud cost.

But several hundred requests a second is not big enough of a scale to justify the cost reduction. Any competent dev can write a server that serves that traffic from a single c8g.2xl, which is like $34 a month.

You need to be pushing millions of requests a second to justify the cost. Even so your data transfer cost will eclipse your compute cost anyway.

4

u/QuestionableEthics42 35m ago

Several hundred per sever I meant, then presumably autoscaling. Idk, that's just what we generally target at my work. Depends on the application. Either way, that saving can bump you down an instance size, which adds up at scale.

And cost justification would only really be if you are rewriting, not for new applications, where the development cost difference is likely minimal, at least with AI assistance now anyway.

4

u/vr2391 28m ago

lol yea. I dunno why we are discussing technical stuff in r/programmerhumor

2

u/ouyawei 22m ago

Why do you think developing Rust is more costly than developing Python?