What is WAMP (Web Application Messaging Protocol)?

3

I've been studying a bit about Websockets and when researching how do channel structure or push, I came across the term WAMP.

As it seems, WAMP is a protocol or subprotocol of a Websocket connection.

I would like to know: What is WAMP in detail?

Do not confuse with the Wamp software used to run Mysql, Apache, and PHP on Windows.

    
asked by anonymous 10.10.2017 / 14:59

1 answer

7

Wamp

WAMP is a subroutine of WebSocket registered in IANA, specified to provide RPC routed and PubSub. Its design goal is to provide an open standard for real-time message exchange between application components and to facilitate the creation of microservices-based, tightly coupled architectures. It is suitable for the development of responsive Web applications or to coordinate various IoT connected devices.

PubSub

In software architecture, publish-subscribe is a messaging standard where message senders, called publishers, do not program messages to be sent directly to specific receivers, called subscribers, but categorize messages published in classes without knowledge of which ones subscribers. Likewise, subscribers express interest in one or more classes and only receive messages that are of interest, without knowledge of which publishers.

Subprotocols

Think of a subprotocol as a custom XML schema or a doctype declaration. You are still using XML and its syntax, but you are also restricted by a structure that you have agreed to. The WebSocket subprotocols are exactly like this. They do not present anything fancy, they just lay structure. As a doctype or schema, both parties must agree to the subprotocol; Unlike a doctype or schema, the subprotocol is implemented on the server and can not be externally forwarded by the client.

Fonts

Wamp - link

PubSub - link

Subprotocols - link

    
10.10.2017 / 15:11