i want to upgrade the script to a multithreaded one, but DBI does not support multithreading... what should i do?
Do your scraping from multiple threads and use a single separate thread to do the DBI stuff.
Have the scraping threads post the data to be entered into the DB, to the DBI thread -- as plain text -- via a queue.
In reply to Re: multi threading DBI
by BrowserUk
in thread multi threading DBI
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |