I have an application which has an initial flow that can be done in parallel:
- Fetch two JSON documents (I use clj-http for that)
- Parse these documents (extract only required data)
- Join the results
- Dump them into a one file
So there's something like that:
some-entry-point
/\
/ \
/ \
/ \
fetchA fetchB
| |
| |
parseA parseB
\ /
\ /
\ /
\ /
\/
join
|
|
dump
What is the correct and the most current way to achieve that?
What I found so far are: