Speed up iterateEntities
by sending callbacks to a promise queue
#546
Labels
iterateEntities
by sending callbacks to a promise queue
#546
Recently, we encountered an integration where a single step that calls
jobState.iterateEntities()
took multiple hours to execute. Since this step is sequentially reading from disk, waiting for network calls, and writing to disk, it appears that we could significantly speed up certain steps by implementing something like below:The text was updated successfully, but these errors were encountered: