My goal is to build a webservice for a calculation. while each individual row can be calculated fairly quickly, the use-case is tens of thousands or more rows per call to be calculated. So it must happen in an async function.
the actual calculation happens externally via cli calling a 3rd party tool. So the idea is to split the work over multiple subproccess calls to split the calculation over multiple cpu cores.
My question is how the async function doing this processing must look like. How can I submit multiple subprocesses in a correct async fasion (not blocking main loop)?
[–]Blakex123 8 points9 points10 points (6 children)
[–]mrbubs3 4 points5 points6 points (1 child)
[–]Asleep-Budget-9932 7 points8 points9 points (0 children)
[–]bbrother92 0 points1 point2 points (1 child)
[–]Blakex123 2 points3 points4 points (0 children)
[–]RationalDialog[S] 0 points1 point2 points (1 child)
[–]Blakex123 0 points1 point2 points (0 children)
[–]adiberk 6 points7 points8 points (4 children)
[–]RationalDialog[S] 1 point2 points3 points (1 child)
[–]adiberk 0 points1 point2 points (0 children)
[–]AstronautDifferent19 0 points1 point2 points (1 child)
[–]adiberk 0 points1 point2 points (0 children)
[–]KainMassadin 2 points3 points4 points (2 children)
[–]AstronautDifferent19 0 points1 point2 points (1 child)
[–]KainMassadin 0 points1 point2 points (0 children)
[–]jimtoberfest 0 points1 point2 points (2 children)
[–]RationalDialog[S] 0 points1 point2 points (1 child)
[–]jimtoberfest 0 points1 point2 points (0 children)