Re:Traits of Serverless Architecture
by mjb on Monday August 19, 2019 @11:56AM
(#20738865)
Right. I like to make a distinction here between "hard state" which needs to be persistent for correctness, and "soft state" which just needs to be around often enough for efficiency. Lambda's function re-use behavior, and the fact it lets you use static variables between invokes, is ideal for soft state.
Data locality, and amortizing the cost of expensive operations across multiple requests, are still things that matter in the serverless world.
Data locality, and amortizing the cost of expensive operations across multiple requests, are still things that matter in the serverless world.