A computer program product comprising a computer readable storage medium having a computer readable program stored therein, wherein the computer readable program, when executed on a computing device, causes the computing device to segregate a function-as-a-service (FaaS) workflow into processes for segregated execution, at least by:
- identifying a plurality of sub-flows within the FaaS workflow;
- generating, for each sub-flow, a container to implement the sub-flow as a separate process from processes of other sub-flows in the FaaS workflow, wherein at least one sub-flow comprises a plurality of functions of the FaaS workflow;
- and
- deploying the containers of the plurality of sub-flows for execution by one or more nodes.