News for hackers. Stuff that matters.
Re:Should you use a Lambda Monolith, a.k.a. Lambdalith, for ... by Cyriou on Tuesday October 31, 2023 @08:16AM (#38083590)
Say I am building a marketplace which I plan: will get many users. Also, we are only 2 building it.

I am pretty sure this is way more expansive to spend engineering time making it possible for server(s) to scale using kubernetes and stuff, than just using serverless.

And later with many users, we estimate what better be implemented manually to save money, because at this point it would actually save us money to employ a new engineer than continue paying serverless due to number of users.

Don't you think serverless makes sense?

Re:Should you use a Lambda Monolith, a.k.a. Lambdalith, for ... by brap on Tuesday October 31, 2023 @08:21AM (#38083653)
It's not all or nothing, there are in-between approaches.

For example you can write your portable app in Node.js (with or without containerization) and push it to a "serverless" PaaS, without running your own linux machine or worrying about k8s.

e.g Fly.io, Render, Railway...

Re:Should you use a Lambda Monolith, a.k.a. Lambdalith, for ... by scarface_74 on Tuesday October 31, 2023 @10:18AM (#38085239)
Yes I’m going to tell my CTO to use any of those solutions and immediately be laughed out of the room.
Re:Should you use a Lambda Monolith, a.k.a. Lambdalith, for ... by brap on Tuesday October 31, 2023 @10:36AM (#38085514)
You might not have a good CTO then
Re:Should you use a Lambda Monolith, a.k.a. Lambdalith, for ... by andrewstuart on Tuesday October 31, 2023 @08:18AM (#38083620)
Why would you run kubernetes?

Do you really feel that serverless is somehow faster than a reasonably modern computer?

Nodejs on a single machine can manage tens of thousands of connections if not hundreds of thousands.

The vast, vast majority of sites would never be able to consume 50% of the computing power in a modern gaming OC.

Re:Should you use a Lambda Monolith, a.k.a. Lambdalith, for ... by Cyriou on Tuesday October 31, 2023 @08:34AM (#38083802)
I don't think it is faster, I think it is way more convenient Ok, say I don't need kubernetes.

I would still do it in AWS, as it is like golden garden, don't need to deep dive into security measures, to manage authorizations manually, to handle database sharding and optimizations, you get notifications systems, ML, data streams and everything just connects together.

From there using lambda is way faster than to develop your own api with caching and making sure it is 100% optimized so that 10 thousands ppl can connect, while in fact you might change it tmrw.

Re:Should you use a Lambda Monolith, a.k.a. Lambdalith, for ... by dpats on Tuesday October 31, 2023 @08:22AM (#38083659)
You can scale without learning kubernetes. Heroku is mature and easy to use.