Hacker News new | ask | show | jobs
by CharlesW 3042 days ago
> As far as I know, all the projects that promote themselves as "serverless" are stateless functions…

Any normal PHP app is just a collection of stateless functions, but that doesn't automatically make all PHP apps "serverless" apps. What makes something "serverless" is the FaaS[1] execution model.

[1] https://martinfowler.com/articles/serverless.html

2 comments

Or, you know, it's better to reference the source: https://tools.ietf.org/html/draft-robinson-www-interface-00
Most PHP apps are run by DBs. They are not stateless.
Most "FaaS" apps also access a remote datastore as well. The fundamental value of most web software applications revolves around state transformation in some way or another. FaaS just "cleans up" the application state insofar as it forces the state boundary to a comparatively slow edge and doesn't let you, for example, store things in in-memory shared datastores.