Re:Serverless to Monolith – Should Serverless Lovers Be Worr...
by blq10 on Sunday July 02, 2023 @03:00AM
(#36559014)
The big place it shines for compute tasks is workloads with high variability.
As long as you can select a p99 for timeouts that's sane, lambda does a really good job handling highly heterogeneous workflows in general.
So if a request could take 10ms or multiple minutes depending on Reasons(TM) - lambda makes a lot of sense because you don't have to overprovision for theoretical peak demand, and a swamp of expensive requests is isolated from your cheap requests.
As long as you can select a p99 for timeouts that's sane, lambda does a really good job handling highly heterogeneous workflows in general.
So if a request could take 10ms or multiple minutes depending on Reasons(TM) - lambda makes a lot of sense because you don't have to overprovision for theoretical peak demand, and a swamp of expensive requests is isolated from your cheap requests.