in reply to multi threading DBI
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: multi threading DBI
by Anonymous Monk on Oct 29, 2013 at 17:45 UTC | |
by BrowserUk (Patriarch) on Oct 29, 2013 at 17:51 UTC |