Re:Brubeck: A new Python web framework running on mongrel2
by inportb on Saturday July 16, 2011 @01:37PM
(#2771185)
I use pymongo with gevent. A small hack is necessary to prevent pymongo from making a new connection for each thread that accesses mongodb (because with gevent, you can have a massive number of threads). I'd imagine the same is true with eventlet.
[ Parent
| on HN ]
Re:Brubeck: A new Python web framework running on mongrel2
by robspychala on Sunday July 17, 2011 @11:25PM
(#2774980)
BTW, how is the performance compared to sync pymongo in your use? I'm testing with eventlet and seeing it about 10-20% slower.
Re:Brubeck: A new Python web framework running on mongrel2
by deepu_256 on Saturday July 16, 2011 @10:26PM
(#2772344)
Do you mind sharing the details of that hack ??