Paweł Radzikowski

The Web Application Messaging Protocol

v2

About ME

  • Señor Developer @ Orba
  • self-proclaimed code magician
  • mentor & consultant
  • devThursday keeper

 

Paweł Radzikowski

The Web Application Messaging Protocol

v2

Protocol

Server Stack

Wamp Router

Wamp Client

Wamp Client

Wamp Client

How it works ?

Wamp Router

Serwer

Web Page

Mobile Phone

How it works ?

Wamp Router

Wamp Router

Message Patterns

Publish - Subscribe

Remote Procedure Call (RPC)

Wamp Router

Subscribe
Receive
Publish
Register
Receive
Call

Callee

Caller

Dealer

Publisher

Subscriber

Subscriber

Broker

Use-case Example

Push Notification

Wamp Router

Client

Legend:

Auth

Queue

Publisher

  • RPC (ask for updates)
  • RPC (listen for notifications)
  • Authentication

Broker

  • Pub-Sub (listen for notifications)

WAMP VS ?

WAMP VS Socket.io

Connection Protocol

Connection Interface

Routing

Single channel

RPC

Not providing RPC

WebSocket? 

Any bidirectional connection

Open Standard with own RFC

Library

Connection client-client (Peer - Peer)

Connection client-server

WAMP VS DPP

Connection Protocol

Connection Protocol

Routing

Routing

RPC

RPC

Websocket/SockJS

Any bidirectional connection

Open Standard with own RFC

Design for Meteor

Connection client-client (Peer - Peer)

Connection client-server

Router?

crossbar.io !

Client?

authobahn.*

.js

.py

.cpp

.java

Thruway

Web Application Messaging Protocol v2

By Paweł Radzikowski

Web Application Messaging Protocol v2

  • 291