veegee / amqpy

Pure-Python 2 & 3 AMQP client library
http://amqpy.readthedocs.org/
Other
32 stars 5 forks source link

Improve efficiency in multithreaded use cases #30

Open veegee opened 8 years ago

veegee commented 8 years ago

See #29

Connection and channel operations currently lock the connection and wait until the operation is complete. This provides thread safety, but slightly reduces performance in highly concurrent code when multiple threads are operating on their own channels. A better solution would be to allow concurrent channel operations safely.