rest style large measurement platform protocol

20
REST Style Large Measurement Platform Protocol draft-liu-lmap-rest-00.txt Dapeng Liu(Presenter) Lingli Deng China Mobile Shihui Duan CATR Cathy Li China Cache

Upload: newton

Post on 07-Feb-2016

27 views

Category:

Documents


0 download

DESCRIPTION

REST Style Large Measurement Platform Protocol. draft-liu-lmap-rest-00.txt Dapeng Liu(Presenter) Lingli Deng China Mobile Shihui Duan CATR Cathy Li China Cache. Outline. REST Style LMAP Protocol Control Protocol Configuration Update Instruction Assignment - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: REST Style Large Measurement Platform Protocol

REST Style Large Measurement Platform Protocol

draft-liu-lmap-rest-00.txt

Dapeng Liu(Presenter)Lingli Deng

China MobileShihui Duan

CATRCathy Li

China Cache

Page 2: REST Style Large Measurement Platform Protocol

Outline

• REST Style LMAP Protocol – Control Protocol

• Configuration Update• Instruction Assignment• Capacity and Status Feedback

– Report Protocol

• Running code & Deployment Case

Page 3: REST Style Large Measurement Platform Protocol

Background• LMAP Use Cases

– LMAP can be used to monitor network quality• IDC service Monitor/VIP customer monitor

– LMAP can be used to optimize user experience• CDN acceleration effect

– Network operation and maintenance• Enterprise network

• draft-liu-lmap-rest-00 defines a REST style LMAP protocol– Include both control and report protocol

Page 4: REST Style Large Measurement Platform Protocol

Motivation

• Why Use REST Style HTTP?– REST: Representational State Transfer– Benefit of using REST

• One of the best practices of using HTTP• Simple• Stateless• Clean design• Scalable …

Page 5: REST Style Large Measurement Platform Protocol

• REST Style Example– HTTP GET:

• List the URIs and perhaps other details of the collection's members.

– HTTP POST• Create a new entry in the collection. The new entry's

URI is assigned automatically and is usually returned by the operation.

– PUT• Replace the entire collection with another collection.

– DELETE• Delete the entire collection.

Reference: http://en.wikipedia.org/wiki/Representational_state_transfer

Page 6: REST Style Large Measurement Platform Protocol

Rest Style LMAP Control Protocol

• Configuration Update from Controller to MA– PUT /ma/config/

• Update the configuration from controller to MA• JSON format parameters

– Align with LMAP information model

Page 7: REST Style Large Measurement Platform Protocol

MA agent ID

MA control tasks

MA control channels

MA control schedule

Page 8: REST Style Large Measurement Platform Protocol

• Instruction Assignment from Controller to MA– POST /ma/ins/

• Send measurement instruction from controller to MA• JSON format parameters

– Align with LMAP information model

Page 9: REST Style Large Measurement Platform Protocol

MA task

MA schedule

MA channel

MA suppression

Page 10: REST Style Large Measurement Platform Protocol

• Capability and Status Feedback from MA to Controller– GET /ma/capabilities

• Get MA capablitlites

– GET /ma/failure • Get failure information

– Get /ma/logging• Get logging information

Page 11: REST Style Large Measurement Platform Protocol

Response of get capabilities

Ma capabilities information

Page 12: REST Style Large Measurement Platform Protocol

Response of get failure information

Response of get logging information

Page 13: REST Style Large Measurement Platform Protocol

• Report Protocol– POST /collector/report/

• JSON format parameters– Align with LMAP information model

Page 14: REST Style Large Measurement Platform Protocol

Report information

Page 15: REST Style Large Measurement Platform Protocol

Running code & Deployment Case

NPM - Network Performance MonitorBMA - Backbone Measurement AgentCMA - Client Measurement Agent

ControllerController CollectorCollectorSchedulingScheduling

Measurement Agent[BMA]

Measurement Agent[BMA]

Measurement Agent[CMA]

Measurement Agent[CMA]

Data DistributionData DistributionReport shareReport share

Data analysisData analysis

Measurement Agent[BMA]

Measurement Agent[BMA]

Measurement Agent[CMA]

Measurement Agent[CMA]

report

NPM

Measure strategyMeasure strategy

report

Configuration portal

Configuration portal

LinkUser Experience Link User

Experience

Traffic

Portal

Endpoint

Architecture

Page 16: REST Style Large Measurement Platform Protocol

Data flow

NPMNPM

Configuration infoConfiguration info

1.Measure target : URL/IP2.Measure originals: MA3.Measure type: HTTP/PING/Traceroute4.Measure frequency: 5minutes/1hour...

delivery

MAMA MAMA MAMA MAMA

Measure targetMeasure target

NPMNPM

Report

Measurement dataMeasurement data

Network indexISP service qualityLink qualityNode parameters

Page 17: REST Style Large Measurement Platform Protocol

Measurement Agent Deployment• Measurement agents deployment

– IDCs– User access location– Carrier operators

Page 18: REST Style Large Measurement Platform Protocol

Some Real Data…• Link quality of network node

郑州

新乡

Page 19: REST Style Large Measurement Platform Protocol

Measurement Detail• Measurement Technology

– Ping Measurement• Packet loss rate• Latency

– HTTP Measurement• Download speed• First packet arrival time• DNS analysis time• Response time• The first screen time

Page 20: REST Style Large Measurement Platform Protocol

Thanks!