aio-libs / aiozmq

Asyncio (pep 3156) integration with ZeroMQ
aiozmq.readthedocs.org
BSD 2-Clause "Simplified" License
422 stars 56 forks source link

it seems that readme file needs updating #150

Open wrobell opened 6 years ago

wrobell commented 6 years ago

Is this still valid?

zmq.asyncio.ZMQEventLoop cannot be combined with other loop implementations (most notable is ultra fast uvloop).

It uses internal ZMQ Poller which has fast ZMQ Sockets support but doesn't intended to work fast with many (thousands) regular TCP sockets.

see https://github.com/zeromq/pyzmq/pull/1021

bmoscon commented 6 years ago

also see https://github.com/zeromq/pyzmq/blob/master/zmq/asyncio/__init__.py#L69

class ZMQEventLoop(SelectorEventLoop):
    """DEPRECATED: AsyncIO eventloop using zmq_poll.
    pyzmq sockets should work with any asyncio event loop as of pyzmq 17.
    """