and aggregate results
# help
t
and aggregate results
f
I don’t think it’s antipattern. Do you need to konw when all the parallel lambdas are done their job?
If yes, I think step functions can really simplifies this.
t
Yeah I had a feeling step functions was the way to go but I've been shy about jumping into learning them
I do need to know when they're all done
f
without step function, each of the parallel function needs to check if all other functions are done. And you might need too store all function’s “running/done” state in a DB?
With step functions, you can do fan out / fan in easily, and it has an internal state, so most likely you don’t need a db.
The “Parallel” state does the fan-out/fan-in
t
sweet thanks I'll check it out
wow this is powerful, I kept hearing everyone say it was powerful but now it's clicking for me
f
Yeah I usually go for step functions whenever I need to do smth and wait
t
Got it working with the
Map
concept since I needed to dynamically kick off work
it's beautiful!