Hi. Noob here.
I came across a task that was not very suitable to node-red, the first and only for me. I used node-red to search for strings among more than 50k plus items in a array, the file is up to 16MB(image from flow below).
The problem is that is taking over 10 seconds to do that, and sometimes the page that is supposed to display the information “times out”, it time out when more than 3 or 4 requests comes at the same time since the last request will take at least 40 seconds and the page timeout at 30 seconds.
My question is… Is there a way to delegate some of this request to other thread(core, processor, worker...) so more than one request can be dealt at the same time?
I´m using a simple for loop inside the function node. Here a simplified image from that.