Architecture of zeromq source code analysis notes (1), zeromq source code

Source: Internet
Author: User

Architecture of zeromq source code analysis notes (1), zeromq source code
1. zmq overview ZeroMQ is a message queue-based multi-thread network library that abstracts the underlying details of socket types, connection processing, frames, and even routes, supports sockets that span multiple transmission protocols. Referring to Yunfeng, ZeroMQ is not an encapsulation of socket, and cannot be used to implement existing network protocols. It has its own mode, which is different from the underlying point-to-point communication mode. It has a higher level of protocol than tcp. (Of course, ZeroMQ is not necessarily based on the TCP protocol. It can also be used for inter-process and intra-process communication.) It changes the assumption that communication is based on one-to-one connections. ZeroMQ regards communication requirements as four types. One type of communication is one-to-one communication, which is used to support the traditional TCP socket model, but is not recommended. There are only three common communication modes:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.