in reply to Re^2: Parallel Search using Thread::Pool
in thread Parallel Search using Thread::Pool
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Parallel Search using Thread::Pool
by shanu_040 (Sexton) on Jun 02, 2009 at 04:56 UTC | |
by BrowserUk (Patriarch) on Jun 02, 2009 at 10:59 UTC | |
by shanu_040 (Sexton) on Jun 03, 2009 at 04:12 UTC | |
by BrowserUk (Patriarch) on Jun 04, 2009 at 07:33 UTC | |
by shanu_040 (Sexton) on Jun 08, 2009 at 12:10 UTC | |
|