• ZeroMQ sockets are asynchronous.
zmq套接字是异步的
• They may implement particular patterns.
可以实现特定模式
many-to-many with ZeroMQ, depending on your needs and socket type.
TCP是一对一,ZeroMQ是多对多的,可以根据套接字类型实现一对多,一对一,多对一,或多对多
in Chapter 1, Getting Started, a message is a fixed-length binary object.
ZeroMQ传输消息,TCP传输字节
is too busy to handle messages, they are put in queues.
ZeroMQ 隐藏IO细节
• Unlike TCP, ZeroMQ sockets do not care whether the destination exists
or not.
ZeroMQ不在乎目的是否存在
• ZeroMQ sockets may transmit data to multiple nodes and receive data from
multiple nodes.
ZeroMQ可以往多个节点发送数据,可以从多个节点接收数据