Idea of using zeromq to develop distributed cloud computing applications

Source: Internet
Author: User
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.

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.