News for hackers. Stuff that matters.
Re:The Serverless Revolution Has Stalled by sudhirj on Tuesday October 13, 2020 @01:07AM (#24762456)
Serverless and microservices aren’t the same thing. You can deploy a monolith to lambda, and make a thousand small services on VMs or orchestration platforms. It’s purely a question of how to organise your code.
Re:The Serverless Revolution Has Stalled by dtech on Tuesday October 13, 2020 @01:36AM (#24762589)
I'd say that is misleading at best. Lambdas are inherently unsuited for monoliths due to payload, RAM and execution time limits and cold start times. Lambdas are inherently suited to "real" micro-services, because by nature can only do 1 thing and have strict limits.
Re:The Serverless Revolution Has Stalled by sudhirj on Tuesday October 13, 2020 @05:30AM (#24763804)
Depends entirely on workload - there's 3GB RAM available, which is more than what we use for normal monoliths on Heroku. Payload limits are 6MB or something, which isn't hit for a majority of sites on the internet (each request, not total page size). And there's nothing in the nature of Lambdas that force them to do only one thing. HTTP events can be fed through the normal router (lots of adapters for many web frameworks out there). Non-HTTP events can either go through a switch-case-board. There's no inherent "nature" to lambda, it'll execute whatever code you give it. There are limitations, but those are constantly changing.