Think about Loose Coupling | |
PerlMonks |
Re^9: threads::shared seems to kill performance (Workaround).by BrowserUk (Patriarch) |
on Jul 24, 2013 at 20:40 UTC ( [id://1046200]=note: print w/replies, xml ) | Need Help?? |
That file thing is a bit strange indeed, I hope there's some solution to that. The problem is finding someone with some expertise of the Windows port of sqlite. BTW: As your data is already in an sqllite DB, rather than copying it all from the into this mode=memory DB(*), why not just open connections to the existing db file from each of the threads using the uri-form connect string + the cache=shared modifier and see how the performance pans out. (*especially as it seems these involve IO anyway.) With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|