[Twisted-Python] txmongo vs. pymongo + callInThread

Jonathan Vanasco twisted-python at 2xlp.com
Wed Oct 7 12:18:37 MDT 2015


On Dec 21, 2014, at 4:05 PM, Clayton Daley wrote:

> Are there any major disadvantages of using pymongo with callInThread instead of txmongo?  I'd like to take advantage of some newer features in pymongo (unfortunately not available in txmongo) and it's certainly easier to maintain feature parity using callInThread.

I know thread is a bit old, but I'm wondering if the OP ended up using callInThread or not , and if there were any issues.

I started working on a txmongo solution to offload some storage, but then realized I was already in a deferred thread (to handle blocking operations) and i probably should be using pymongo.




More information about the Twisted-Python mailing list