top | item 35856317

(no title)

optimuspaul | 2 years ago

I disagree very much. I don't think any blanket statement like that makes sense.

I recently started building a service and need to keep costs down. Serverless is perfect for it. My service has low to moderate traffic, costs pennies to run on AWS Lambda and MongoDB Atlas. If I had gone the boring route of JVM + PG + k8s, putting aside the time it would take to defamiliarize myself with anything on the JVM, the cost to run this service would have been in the hundreds of dollars a month vs the pennies. Interestingly the most expensive part of my current setup is the NAT Router on my VPC. With JVM + PG + k8s it would have been PG or K8S depending on where I ran PG.

I do agree that there is a misconception with containers taking longer than server less. I don't think either takes longer considering the current tooling available.

Seems like you got burned on Serverless at some point, I'm sorry that happened, but for many people and teams it is a productivity multiplier and can be a big cost cutting solution.

discuss

order

re-thc|2 years ago

> the cost to run this service would have been in the hundreds of dollars a month vs the pennies

And maybe this again proves the initial comment's point.

> I do agree that there is a misconception with containers taking longer than server less. I don't think either takes longer considering the current tooling available.

And (the misconception) that it costs more.

> AWS Lambda and MongoDB Atlas

If you take a managed database with a free tier and compare it there are similarly managed databases (SQL) based with a free tier. Not really fair to say PG will cost more.

This also comes down to the world is not just AWS. k8s is cheap in a lot of places and definitely not hundreds a month.