Idea of using zeromq to develop distributed cloud computing applications
Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
I recently encountered a setback when developing an IM server. I wanted to use ACE as the network communication library at the beginning, but after learning for a long time, I learned more and more confused!
So I switched to libevent, and the results won't be compiled and used. It's really not broken! I had to rely on boost ASIO, but ASIO was much simpler. After compilation, I wrote several codes. It felt very good. It was really good!
However, when I want to implement asynchronous multi-thread communication under ASIO, I am stuck again and will not create a working thread to process time-consuming operations! Ah... cainiao is a cainiao!
But it doesn't matter. Brother is the more frustrated and brave, so after several times of Google, he finally found zeromq. Yes, it's zeromq, the fastest message queue in history! Zeromq is easy to use and suitable for developing distributed cluster applications! It is a pity that this message queue is not compatible with the existing TCP/UDP communication protocols, because it is another communication protocol implemented on these protocols! Zeromq Hello World http://blog.dccmx.com/2011/02/zeromq/zeromq this is a Chinese translation article. Thank you very much for his translation. Otherwise, I will continue to engage in ASIO NLP (discuss network programming technologies such as zeromq/ASIO) now there are many people in this group.
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
reliability of the article or any translations thereof. If you have any concerns or complaints relating to the article, please send an email, providing a detailed description of the concern or
complaint, to firstname.lastname@example.org. A staff member will contact you within 5 working days. Once verified, infringing content will be removed immediately.
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:
and provide relevant evidence. A staff member will contact you within 5 working days.