Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Lightning talk:

Varun Singh
October 01, 2014
51

Lightning talk:

Chicago, 2014.
IIT-RTC Conf

Varun Singh

October 01, 2014
Tweet

Transcript

  1. RTC Performance Testing
    Monitoring and Management
    Varun Singh

    @vr000m, @callstatsio

    Chicago, 01st October 2014

    View full-size slide

  2. Contributions
    •  Research
    – Congestion control
    – Error resilience
    •  Standardization
    – Circuit breakers, adaptive FEC
    – Extending RTCP XR reports
    – Multipath RTP
    – WebRTC Statistics API
    2

    View full-size slide

  3. Deconstruction
    •  Testing
    –  In Testbeds
    –  In deployments
    •  Monitoring à Measure
    –  RTCP Extended Reports
    –  WebRTC Stats API
    •  Management
    –  Congestion control
    –  Application interaction
    –  Infrastructure control
    4

    View full-size slide

  4. Measurement Architecture
    Browser
    Internals
    (WebRTC
    Stack)
    Browser
    Internals
    (WebRTC
    Stack)
    WebRTC
    API
    WebRTC
    API
    APP APP
    WebRTC Server
    Signaling Protocol
    (e.g., SIP, Jingle, …)
    PeerConnection
    SRTP/DTLS/UDP
    Data/SCTP/DTLS/UDP
    Network
    Monitoring
    •  TURN
    •  Gateway
    Client Monitoring
    STATS API
    Monitoring Server
    HTTP or
    WebSockets
    HTTP, IPFIX,
    or NetFlow
    RTCP XR
    5

    View full-size slide

  5. Gameplan
    1.  Wait for feedback/emails customers
    2.  RTCP XR monitoring
    3.  WebRTC StatsAPI

    6

    View full-size slide

  6. Manual data gathering
    •  Use chrome://webrtc-internals
    •  User monitors their session
    7

    View full-size slide

  7. RTCP Monitoring
    •  Send metrics to a performance monitoring
    server
    •  Needs support in the WebRTC Stack
    – Implement RTCP Extension Reports

    http://tools.ietf.org/html/rfc6792
    8
    http://tools.ietf.org/html/draft-huang-xrblock-rtcweb-rtcp-xr-metrics

    View full-size slide

  8. WebRTC Stats API
    •  pc.getStats()
    – ICE Transport metrics
    – Audio metrics
    – Video metrics
    – Data channel metrics
    – …
    •  Endpoints adapt their settings
    http://w3c.github.io/webrtc-stats/
    9

    View full-size slide

  9. Performance Monitoring
    •  Annoyances
    – Call setup time, call failures, NAT traversal
    •  Transport quality
    – Relayed or not
    – Session throughput, delay and loss
    •  Per-stream media quality
    – Quality Models, MoS, User feedback
    10

    View full-size slide

  10. Management
    •  Endpoint management
    –  Congestion control
    –  DSCP markings
    •  WebRTC Infra management
    –  TURN server
    –  Conference server
    –  Media Resource Function

    •  Network Management
    –  DPI à SNMP
    –  SDN/NFV
    11

    View full-size slide

  11. 12
    Gather
    Report
    Analyze
    FIX
    Deploy?
    webrtc-internal?
    via email?
    Has this been
    reported before?
    Did it solve the issue?
    Until next report?
    Integrate
    Deploy
    Diagnose
    FIX

    View full-size slide