in reply to Sqlite: Threads and inserts into a different database for each one. (1 thread fast, >1 slow)
I suspect that the problem with slowness has little or nothing to do with your use of sqllite, and almost everything to do with poor coding choices with respect to shared data and queues.
I further suspect that -- subject to verifying my quesswork regarding the chunks of your code that you haven't posted -- that a few, relatively minor changes could effect a considerable speedup in the run time of this code.
Once again, can I suggest that you fill in the blanks so we stand some chance of actually helping you. Assuming you actually want help?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sqlite: Threads and inserts into a different database for each one. (1 thread fast, >1 slow: BY YOUR DESIGN!)
by ssc37 (Acolyte) on Apr 07, 2014 at 15:17 UTC | |
by BrowserUk (Patriarch) on Apr 07, 2014 at 15:20 UTC | |
by ssc37 (Acolyte) on Apr 07, 2014 at 15:38 UTC | |
by BrowserUk (Patriarch) on Apr 07, 2014 at 15:59 UTC | |
by ssc37 (Acolyte) on Apr 07, 2014 at 19:23 UTC | |
|