faas-flow
faas-flow copied to clipboard
Parallel execution speed up
Is it possible by scaling the queue-worker and flow's pods to accelerate the execution of the flow???
I have come to the conclusion that the faas-flow wrapper function executes a flow with sync-calls to the others functions. This means that neither scaling the queue-worker nor scaling function replicas would affect at all the flow execution speed.
Not 100% sure though. It would be great if @s8sg could comment on this!
@dimgiagos44 Can you explain more on what do you mean by sync-calls
?
@s8sg as far as i have examined, the faasflow function invokes the other openfaas functions included in the flow, with sync http calls. But concurrency can not be achieved with sync. url builder for openfaas function http call
@dimgiagos44 It uses nats queue if used async. With sync its always HTTP