It takes too much time to retrieved the result from a source
How do you know it is taking too long? How long is too long? How are you measuring it?
I'll try to help, but you are going to have to explain what you are doing a lot more clearly that you have to date. Are you trying to display the results on a web page as you get them?
If so, that could be the source of your problems. Whilst not impossible, it is quite difficult to render web pages on-the-fly because HTML simply wasn't designed to work that way.
If not, then you are going to have to describe or post the overall operation of the application, rather than just keep posting the same basic snippet.
GUI; CLI, web app.
DBs, web pages; other?
Does each instance search all 50 sources? Are the all searching the same sources?
I have looked at your earlier posts but as I do not understand what you are trying to achieve, it's hard to begin to help you. I don't the specific details of the data, but a clear overview of the dataflows is essential. Also, how long is it takling currently, and what is your target?
In reply to Re^3: Parallel Search using Thread::Pool
by BrowserUk
in thread Parallel Search using Thread::Pool
by shanu_040
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |