Sunday, March 26, 2017

Autobahn

"Autobahn|Python is part of the Autobahn project and provides open-source implementations of
in Python 2 and 3, running on Twisted or asyncio.

WebSocket allows bidirectional real-time messaging on the Web while WAMP provides applications with high-level communication abstractions (remote procedure calling and publish/subscribe) in an open standard WebSocket-based protocol.
Autobahn|Python features:
...and much more.
Further, Autobahn|Python is written with these goals:
  1. high-performance, fully asynchronous and scalable code
  2. best-in-class standards conformance and security
We do take those design and implementation goals quite serious. For example, Autobahn|Python has 100% strict passes with AutobahnTestsuite, the quasi industry standard of WebSocket protocol test suites we originally created only to test Autobahn|Python ;)

WebSocket is great for apps like chat, trading, multi-player games or real-time charts. It allows you to actively push information to clients as it happens. (See also Automatically Run All Examples)

Further, WebSocket allows you to real-time enable your Web user interfaces: always current information without reloads or polling. UIs no longer need to be a boring, static thing. Looking for the right communication technology for your next-generation Web apps? Enter WebSocket.

And WebSocket works great not only on the Web, but also as a protocol for wiring up the Internet-of-Things (IoT). Connecting a sensor or actor to other application components in real-time over an efficient protocol. Plus: you are using the same protocol to connect frontends like Web browsers.
While WebSocket already is quite awesome, it is still low-level. Which is why we have WAMP. WAMP allows you to compose your application from loosely coupled components that talk in real-time with each other - using nice high-level communication patterns (“Remote Procedure Calls” and “Publish & Subscribe”).

WAMP enables application architectures with application code distributed freely across processes and devices according to functional aspects. Since WAMP implementations exist for multiple languages, WAMP applications can be polyglot. Application components can be implemented in a language and run on a device which best fit the particular use case.
WAMP is a routed protocol, so you need a WAMP router. We suggest using Crossbar.io, but there are also other implementations available."

http://autobahn.ws/python/

No comments:

Post a Comment