I working on a web application. Which does the Parallel searching on different sites and display the fetched content. I am doing it successfully using Parallel::ForkManager(PFM). The problem with using PFM is to wait for all the child to finish their search and then only I can display the results. My concern is I want to display the results as soon as they are retrieved by any child process, In nut shell I don't want to wait for all child to retrieve the result and display, I want some kind of incremental display.
1. What would be the beat way to go about it?
2. Should I use Process or Thread?
3. What about Thread::Queue.