Re:Chartio develops non-blocking MySQL queries using Tornado
by IgorPartola on Friday June 10, 2011 @03:37PM
(#2642123)
This is great. I was going to write my own lib that would use a whole bunch of threads and a non-blocking queue system for executing queries. While I find Tornado somewhat half-baked (it defaults to returning errors in HTML, but was built for handling feeds; its content-encoding header handling is broken, etc), there are lots of applications where non-blocking MySQL would be great.
[ Parent
| on HN ]
Re:Chartio develops non-blocking MySQL queries using Tornado
by thingsilearned on Friday June 10, 2011 @03:44PM
(#2642157)
The title is a little misleading. The method here certainly isn't dependent on Tornado, but for explanation/demo purposes it's a common context to explain it in.
Re:Chartio develops non-blocking MySQL queries using Tornado
by IgorPartola on Friday June 10, 2011 @03:47PM
(#2642163)
Yes, I realize. This would work for anything in Python, and possibly other things as well. node.js could ditch thread pool as well.
Re:Chartio develops non-blocking MySQL queries using Tornado
by irrelative on Saturday June 11, 2011 @12:38AM
(#2643222)
Indeed it is not dependent on tornado, but it does use the tornado event loop in this example.