News for hackers. Stuff that matters.
Re:AWS Lambda adds supports for .NET 6 by CSSer on Sunday February 27, 2022 @08:14PM (#30494916)
Just out of curiosity, why do you feel that php is well suited for the model?
Re:AWS Lambda adds supports for .NET 6 by PetahNZ on Sunday February 27, 2022 @09:43PM (#30495718)
Yea as others have said, it's a shared nothing request model, but also single threaded, with built in memory and time limits, basically exactly how lambda runs (you can of course share memory, and multithread if you want to but its pretty uncommon practice in php).
Re:AWS Lambda adds supports for .NET 6 by dehrmann on Monday February 28, 2022 @12:41AM (#30496799)
The might be a nit, but this is more a limitation of how PHP has been used historically than the language itself.
Re:AWS Lambda adds supports for .NET 6 by withinboredom on Monday February 28, 2022 @04:25PM (#30505341)
I don't really see it as a "limitation" as it really makes grokking the code much easier than other languages. Probably >95% of libraries out there make this assumption as well, so its not just "how it is used" but also the culture and existing code that make this assumption.
Re:AWS Lambda adds supports for .NET 6 by RedWarrior on Monday February 28, 2022 @02:39AM (#30497359)
That's an interesting way to put it
Re:AWS Lambda adds supports for .NET 6 by jolux on Sunday February 27, 2022 @08:27PM (#30495038)
Probably the per-request nature of it when writing web apps.
Re:AWS Lambda adds supports for .NET 6 by withinboredom on Sunday February 27, 2022 @08:48PM (#30495260)
It’s literally one execution per request (see php-fpm). It’s stateless-shared-nothing runtime by default.