Hi Luke,<br><br>We&#39;ll test it. This can be great replacement for MySQLdb<br><br><div class="gmail_quote">On Wed, Feb 9, 2011 at 12:53 AM, Luke Marsden <span dir="ltr">&lt;<a href="mailto:luke-lists@hybrid-logic.co.uk">luke-lists@hybrid-logic.co.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi everyone,<br>
<br>
I&#39;m pleased to announce the release of txMySQL, a native Twisted MySQL<br>
protocol implementation at <a href="https://github.com/hybridlogic/txMySQL" target="_blank">https://github.com/hybridlogic/txMySQL</a><br>
<br>
The bulk of this code is courtesy of _habnabit (thank you!), I just<br>
added authentication support and fixed a couple of bugs which were<br>
stopping the MySQL protocol parser working. As we will be using this in<br>
production at Hybrid Logic I am happy to take over maintenance of it.<br>
<br>
As you can tell from the TODO list in the README, this is still a fairly<br>
rough draft, but it works well enough to .fetchall() basic results sets<br>
and .query() any other MySQL statements you care to run. See example.py.<br>
<br>
The incentive to produce this was due to a critical bug in MySQLdb with<br>
threading under load (on FreeBSD) which was causing Python to lock up. I<br>
decided that a native client protocol implementation would be less work<br>
than tracking down that bug, and besides it&#39;s something I&#39;ve wanted to<br>
do for a while ;-)<br>
<br>
It might be interesting to see how adbapi could be modified to use a<br>
DeferredSemaphore to implement a completely threadless pool of MySQL<br>
connections with this...?<br>
<br>
Feel free to fork, tweak, fix, use, report issues, etc.<br>
<br>
--<br>
Best Regards,<br>
Luke Marsden<br>
CTO, Hybrid Logic Ltd.<br>
<br>
Web: <a href="http://www.hybrid-cluster.com/" target="_blank">http://www.hybrid-cluster.com/</a><br>
Hybrid Web Cluster - cloud web hosting<br>
<br>
Phone: +441172232002 / +16179496062<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</blockquote></div><br>