1. Preface
MQ (Message queue) is the abbreviation for Message Queuing and can be scaled elastically across multiple threads, cores, and host boxes. ZMQ's clear goal is to "become part of the standard network protocol stack and then into the Linux kernel". They are not yet seen to be successful. However, it is undoubtedly a very promising and a layer of encapsulation on the "traditional" BSD sockets that people need most. ZMQ makes writing high-performance Web applications extremely simple and fun.
2. Installation process
(1) Download the latest zeromq:http://download.zeromq.org/
(2) Decompression: TAR-XVF zeromq-4.1.2.tar.gz
(3) Compiling
./configure Tips
Checking for sodium ... no
Configure:error:Package requirements (Libsodium) were not met
Error prompts such as:
Deliberately Baidu a bit libsodium this library, Ibsodium is a popular, easy-to-use software library. It is mainly used for encryption, decryption, signing and generating password hashes, and so on. This is a portable, cross-compiler-supported, installable, NACL-based development that provides a compatible API. Its goal is to provide all the core operations needed to build a higher level of cryptographic tools.
I downloaded a installation, configure or prompt this error, do not know what is the reason, in order to experience the function of ZEROMQ, temporarily block out the library
./configure--PREFIX=/HOME/LIBDEV/ZMQ--without-libsodium
Make
Make install
The installation was successful.
ZEROMQ Study notes 1--centos installation zeromq-4.1.2