[Twisted-Python] txmongo vs. pymongo + callInThread

Clayton Daley clayton.daley at gmail.com
Wed Dec 24 17:26:53 MST 2014


Thanks.  Are you aware of any resources that clarify which pymongo calls
are lazy and which actually result in calls to the Mongo server (thus
really benefit from derferToThread)?


Clayton Daley
clayton.daley at gmail.com
513.505.1236

On Tue, Dec 23, 2014 at 1:51 AM, Gelin Yan <dynamicgl at gmail.com> wrote:

>
>
> On Mon, Dec 22, 2014 at 5:05 AM, Clayton Daley <clayton.daley at gmail.com>
> 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.
>>
>> Clayton Daley
>>
>>
>>
> Hi Clayton
>
>     Txmongo has been inactive for a while so I suggest using pymongo &
> twisted thread pool. I have been using them for a couple of years and they
> work quite well.
>
> Regards
>
> gelin yan
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20141224/ebabd89f/attachment-0002.html>


More information about the Twisted-Python mailing list