py-leveldb + gevent

53 views
Skip to first unread message

kkurian

unread,
Mar 16, 2014, 3:48:56 PM3/16/14
to py-le...@googlegroups.com
Is py-leveldb known to work with gevent?

Árni Már Jónsson

unread,
Mar 16, 2014, 4:40:24 PM3/16/14
to py-le...@googlegroups.com
Hi,

It certainly releases the GIL during I/O operations, so if you can dispatch the relevant function to a thread pool, it wont block the event pool. I've only used it using Twisted, with the threads.deferToThread() function, but I believe there is a similar concept in gevent.

Regards


On Sun, Mar 16, 2014 at 7:48 PM, kkurian <kku...@gmail.com> wrote:
Is py-leveldb known to work with gevent?

--
You received this message because you are subscribed to the Google Groups "py-leveldb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to py-leveldb+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages