rest style large measurement platform protocol
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 PresentationTRANSCRIPT
![Page 1: REST Style Large Measurement Platform Protocol](https://reader036.vdocuments.net/reader036/viewer/2022062410/56815b17550346895dc8c8c7/html5/thumbnails/1.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022062410/56815b17550346895dc8c8c7/html5/thumbnails/2.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022062410/56815b17550346895dc8c8c7/html5/thumbnails/3.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022062410/56815b17550346895dc8c8c7/html5/thumbnails/4.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022062410/56815b17550346895dc8c8c7/html5/thumbnails/5.jpg)
• 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](https://reader036.vdocuments.net/reader036/viewer/2022062410/56815b17550346895dc8c8c7/html5/thumbnails/6.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022062410/56815b17550346895dc8c8c7/html5/thumbnails/7.jpg)
MA agent ID
MA control tasks
MA control channels
MA control schedule
![Page 8: REST Style Large Measurement Platform Protocol](https://reader036.vdocuments.net/reader036/viewer/2022062410/56815b17550346895dc8c8c7/html5/thumbnails/8.jpg)
• 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](https://reader036.vdocuments.net/reader036/viewer/2022062410/56815b17550346895dc8c8c7/html5/thumbnails/9.jpg)
MA task
MA schedule
MA channel
MA suppression
![Page 10: REST Style Large Measurement Platform Protocol](https://reader036.vdocuments.net/reader036/viewer/2022062410/56815b17550346895dc8c8c7/html5/thumbnails/10.jpg)
• 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](https://reader036.vdocuments.net/reader036/viewer/2022062410/56815b17550346895dc8c8c7/html5/thumbnails/11.jpg)
Response of get capabilities
Ma capabilities information
![Page 12: REST Style Large Measurement Platform Protocol](https://reader036.vdocuments.net/reader036/viewer/2022062410/56815b17550346895dc8c8c7/html5/thumbnails/12.jpg)
Response of get failure information
Response of get logging information
![Page 13: REST Style Large Measurement Platform Protocol](https://reader036.vdocuments.net/reader036/viewer/2022062410/56815b17550346895dc8c8c7/html5/thumbnails/13.jpg)
• Report Protocol– POST /collector/report/
• JSON format parameters– Align with LMAP information model
![Page 14: REST Style Large Measurement Platform Protocol](https://reader036.vdocuments.net/reader036/viewer/2022062410/56815b17550346895dc8c8c7/html5/thumbnails/14.jpg)
Report information
![Page 15: REST Style Large Measurement Platform Protocol](https://reader036.vdocuments.net/reader036/viewer/2022062410/56815b17550346895dc8c8c7/html5/thumbnails/15.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022062410/56815b17550346895dc8c8c7/html5/thumbnails/16.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022062410/56815b17550346895dc8c8c7/html5/thumbnails/17.jpg)
Measurement Agent Deployment• Measurement agents deployment
– IDCs– User access location– Carrier operators
![Page 18: REST Style Large Measurement Platform Protocol](https://reader036.vdocuments.net/reader036/viewer/2022062410/56815b17550346895dc8c8c7/html5/thumbnails/18.jpg)
Some Real Data…• Link quality of network node
郑州
新乡
![Page 19: REST Style Large Measurement Platform Protocol](https://reader036.vdocuments.net/reader036/viewer/2022062410/56815b17550346895dc8c8c7/html5/thumbnails/19.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022062410/56815b17550346895dc8c8c7/html5/thumbnails/20.jpg)
Thanks!