You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ease the use and pipelining of FaaS functions within a shell script.
Expected Behavior
Pipe from and to FaaS function just as with local utils.
Current Behavior
We can curl http://faas... | and | curl -X post -d '$(</dev/stdin)' http://faas but it feels quite clumsy.
Maybe a little wrapper script or Go app could help, to pipe from/to a single faas-exec without extraneous switches.
Then, chaining FaaS would just be as simple as using core shell utils.
Context
Trying to demo the ease of use of FaaS by running complex stacks (NLP) within Docker containers, but need some transform steps on data before and after. Need an easy way to chain local and FaaS processes.
The text was updated successfully, but these errors were encountered:
Ease the use and pipelining of FaaS functions within a shell script.
Expected Behavior
Pipe from and to FaaS function just as with local utils.
Current Behavior
We can
curl http://faas... |
and| curl -X post -d '$(</dev/stdin)' http://faas
but it feels quite clumsy.Maybe a little wrapper script or Go app could help, to pipe from/to a single faas-exec without extraneous switches.
Possible Solution
cat input.txt | faas-exec func1 | faas-exec -extraparam func2
cat input.json | faas-exec func1 | faas-exec func2
(recognizes json and sets header)Then, chaining FaaS would just be as simple as using core shell utils.
Context
Trying to demo the ease of use of FaaS by running complex stacks (NLP) within Docker containers, but need some transform steps on data before and after. Need an easy way to chain local and FaaS processes.
The text was updated successfully, but these errors were encountered: