Is this the correct way of processing data?
So I try to migrate the most demanding part of my existing app over to convex. If it can handle that, it can handle everything else to.
I just started and created a workflow that truncates a summary table and go recursivly over all the data needed to do processing on to fill back up the summary table.
In my old app, the script takes around 30 seconds to run. With the exact same data for only the current part of the code (below) it is still going (23 mins at the moment) without even processing anything.
My question is, is this the correct way of doing this work in convex?
https://pastebin.com/KjQYtYwM
