简体   繁体   English

ZeroMQ vs Twisted vs高速公路

[英]ZeroMQ vs Twisted vs Autobahn

ZeroMQ is a socket communication library used in Python. ZeroMQ是Python中使用的套接字通信库。

But what are Twisted and Autobahn? 但是,Twisted和Autobahn是什么? Why would we need to use them if ZeroMQ already exists? 如果ZeroMQ已经存在,为什么还要使用它们? What is the difference between Twisted and Autobahn? Twisted和Autobahn有什么区别?

  • Twisted "is an event-driven networking engine" (take from their Web site) and used as the basis for networking software. Twisted是“一个事件驱动的网络引擎”(取自其网站),用作网络软件的基础。
  • Autobahn|Python as a WebSocket library provides a WebSocket implementation for Python Autobahn | Python作为WebSocket库提供了Python的WebSocket实现

It is only when looking at Autobahn|Python as a WAMP library that you can really compare something here to ZeroMQ. 只有将Autobahn | Python视为WAMP库时,您才可以真正将这里的内容与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. 一般而言:仅仅因为一个库/框架在问题空间中提供了解决方案,但这并不意味着在该空间中没有其他解决方案的位置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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