aeon generic

29
Cloud Services for real time communications Jose Gato Luis <[email protected]>

Upload: jgato

Post on 18-Jul-2015

71 views

Category:

Documents


3 download

TRANSCRIPT

Cloud Services for real time communications

Jose Gato Luis <[email protected]>

Manage your real time

communications

Cloud real time events

Pub/Sub Pattern

AEON

● Real time communications platform

● Cloud services to send/receive data ○ Queue messaging protocol

● Pub/Sub pattern○ Fully decoupled developments

● Easy to use, Easy to integrate

● Open Source technology

Pub/Sub Pattern

AEON Channels

Encapsulate types of information

Generate two end-points (pub/sub)

Distribute the end-points carefully

… end-points are REST interface (POST/GET)

/entities/M1622LB/channel/gps

A world of urls

Keep it simple...

/entities/M1622LB/channel/gps

A world of urls

Who wants to see code??

… ask me later

Technologies enabling real time...

… Do you want details?

Benefits

Communicate through a realtime network

Decoupled developments

Performance, scalability and reliability

Complete RESTful API

Easy to use, easy to integrate (SDK)

Jose Gato Luis <[email protected]>

Technologies enabling real time...

Because of performanceGood 4 Real Time Request’s number Support & Community

Standard Protocol Multi Language Performance

Messages Broker

RESTful interface Web Interface

Big data analysis & Performance

Try it: http://lcb-gui.herokuapp.com

Who wants to see code??

/entities/M1622LB/channel/gps

Get your channels

Why we dont Pub/Sub….POST {} /entities/M1622LB/channel/gpsGET /entities/M1622LB/channel/gps

Publishing

AEONSDK sdk = new AEONSDK(Config.

PUB_URL);

for (var i=1; i < 20; i++){

msg = { "number": i};

sdk.publish(msg);

sleep(2); //sync blocking sleep, ugly ;)

}

Subscribing

var received = function received(msg) {

console.log("Received: ", msg)

}

sdk = new AeonSDK(config.SUB_URL, config.

YOUR_ID , config.YOUR_DESC);

sdk.subscribe(received);

More doc herehttp://lcb.herokuapp.

com/public/doc/html/apidoc/apidoc.html