XP is just a number | |
PerlMonks |
Re: What's the best way to fetch data from multiple sources asynchronously?by bsdz (Friar) |
on Jan 01, 2007 at 19:20 UTC ( [id://592454]=note: print w/replies, xml ) | Need Help?? |
I've implemented something similar using threads before. You can set up a job queue and have worker threads collect these jobs (sql queries), execute them, then return the data to some shared data object such as an array or hash. This shared object might then be tied to your output screen (console or gui?). It will certainly work on Windows and Linux. How do you wish to port your program?
In Section
Seekers of Perl Wisdom
|
|