문제

I was reading about the newer Python AMQP library Puka (not to be confused with Pika) and was wondering if the way it handles it's event loop would be compatible with gevent or eventlet. Based on my limited knowledge, it seems like you could automatically patch it with gevent/eventlet.

Thanks!

Source: http://github.com/majek/puka

Docs: http://majek.github.com/puka/puka.html

도움이 되었습니까?

해결책

Upon initial inspection it appears to be pure Python so gevent and eventlet should work fine.

다른 팁

Puka doesn't do gevent/eventlet out of the box, but it shouldn't be hard to modify it.

Puka blocks only in one place (in the event loop), so replacing this part should be enough.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top