简体   繁体   中英

ZeroMQ vs Twisted vs Autobahn

ZeroMQ is a socket communication library used in Python.

But what are Twisted and Autobahn? Why would we need to use them if ZeroMQ already exists? What is the difference between Twisted and Autobahn?

  • Twisted "is an event-driven networking engine" (take from their Web site) and used as the basis for networking software.
  • Autobahn|Python as a WebSocket library provides a WebSocket implementation for Python

It is only when looking at Autobahn|Python as a WAMP library that you can really compare something here to ZeroMQ.

I'll leave the comparison to others, since I'm involved in the Autobahn projects and thus biased. Generally speaking: Just because one library/framework provides a solution in a problem space, this does not mean that there is no place for other solutions in that space.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM