Steve,
Please read inline,
On Tue, Feb 8, 2011 at 11:09 PM, Steve Pinkham <[email protected]> wrote:
> Meh.
Ha! You made me remember this video:
http://www.youtube.com/watch?v=EMoEAfDJ8Iw
> sqlite has been threadsafe since 2006, and the python adapter still
> won't let you use connections across multiple threads because you might
> have an old version.
Yep... that sucks.
> You're using an explicitly unsupported workaround
> (check_same_thread=False) that may cause dataloss due to optimisations
> in python 2.6 and later. See http://bugs.python.org/issue3846
Yep, but I think its the only "easy way" to work around this
issue. Other options require much more time to implement :(
> I guess your workaround coupled with the mutexes should be a safe
> solution but may not be the most performant. I'm still researching and
> trying to wrap my head around the weirdness that is the python sqlite3
> adapter though.
We also got some bad experiences with it, for example, a couple of
months ago we were using disk_list object extensively (its a "list"
that's persisted to disk using sqlite) and by replacing it with a
bloom filter we increased performance of the framework in ~15%
> It does some *strange* things. The ruby adapter is
> threadsafe. Just sayin.. ;-)
Ok, you convinced me. Lets re-write the whole framework in ruby.
PS: Got ya! Just kidding :)
> --
> | Steven Pinkham, Security Consultant |
> | http://www.mavensecurity.com |
> | GPG public key ID CD31CAFB |
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> W3af-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/w3af-develop
>
>
--
Andrés Riancho
Director of Web Security at Rapid7 LLC
Founder at Bonsai Information Security
Project Leader at w3af
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
W3af-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/w3af-develop