Rb: A Redis parallelization toolkit for Python
blog.getsentry.com
blog.getsentry.com
If you have any questions about the library or the whole problem in general feel free to shoot questions my way.
gevent.joinall([gevent.spawn(call_get, get_client_for_key(key), key) for key in keys])
gevent uses epoll/kqueue in the background as well; as far as I know, no threads are spawned or locked. Is there some kind of fancy scheduling going on in rb?Lastly that does not support pipelining still, something that rb does for you n
We don't use gevent anywhere else, and while I'm certain it has a better implementation, it's about the right tradeoffs.