COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 1 Scaling WebRTC with Media Servers Vince Puglia Developer Advocate – Dialogic October 7 th, 2015
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 2 Over 25 years connecting and adding value to Enterprise and Service Provider Networks US HQ (New Jersey) / 20+ Regional offices Strong Ecosystem +3,000 application developers 48 of top 50 mobile carriers 80% of the Fortune 1000 PowerMedia XMS - Software-based media server | MRF | MCU | media platform Millions of rich media mixing sessions deployed worldwide About Me Vince Puglia Developer Advocate linkedin.com/in/vincentpuglia
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 3 Media Servers?
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 4 Paradigm Shift – the acceptance of media servers
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 5 The role of the Media Server Multi-party Conferencing Transcoding Broadcasting Recording Augment reality Stream Processing Media Server
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 6 Peer-to-Peer vs. Peer-to-Server signaling media Media Server Peer-to-Server Server client signaling media Peer-to-Peer client media control
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 7 What is scalability?
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 8 What is scalability? Scalability is the ability of a real-time reliably communication application to reliably feature-rich handle a growing amount of feature-rich work in a capable manner or its ability to be elastic elastic to accommodate that growth
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 9 ADVANCED FUNCTIONALITY SCALABILITY RELIABILITY
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 10 Advanced Functionality
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 11 Multiparty Conference – FULL MESH mess GOOD: ‘Simple’ to implement Low latency Low cost to implement BAD: High up-link & down-link BW at client High CPU to encode/decode at client No advanced functionality (interworking, record, analytics, etc)
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 12 Multiparty Conference- Selective Forwarding Unit (SFU) Media Server GOOD: High performance Low latency UI flexibility BAD: No transcoding / SIP integration / least common codec High down-link BW at client High CPU to decode at client
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 13 Multiparty Conference- Multipoint Control Unit (MCU) Media Server GOOD: Transcode, transrate, transsize Low CPU & BW at client Advanced functionality (interworking, centralized recording, analytics, BAD: Transcoding is CPU intensive Additional latency UI limitations - Layout controlled by server
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 14 WHICH DO I CHOSE? MESHSFUMCU GOODBADGOODBADGOODBAD Simple to implementHigh BW at clientHigh performanceNo transcoding / SIP int.T-code/T-rate/T-sizeT-code is CPU intensive Low latencyHigh CPU at clientLow latencyHigh BW at clientLow CPU & BW at clientAdditional latency Low cost to implementNo advanced functionalityUI flexibilityHigh CPU at clientAdvanced functionalityUI limitations WHY CHOSE?
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 15 Scalability VERTICALHORIZONTAL
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 16 Media Server-1 Scalability NOT ALL MEDIA SERVER TASKS ARE CREATED EQUAL Media Server-2
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 17 Media Server Scalability
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 18 Scalability
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 19 Scalability - Media Resource Broker Standards compliant – RFC 6917 & 3GPP TS Intelligent load balancer & orchestration for media servers Media Server Media Resource Broker (MRB): AS MRB Media Server IVR CONF TRANSCODE
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 20 Cloud IaaS / NFVI Orchestration App Servers A little help?!? Okay! I’m here for ya Thanks All set! MRB MS-1 MS-2 AS
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 21 Scalability - Pseudo Call-flow with a media server ASMRBMS1MS2Client Call signaling Media control MS1 status MS2 status Media control Media
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 22 Reliability
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 23 Reliability- Media Resource Broker Standards compliant – RFC 6917 & 3GPP TS Intelligent load balancer & orchestration for media servers Media server failure detection Stateful call preservation “Moves” established sessions Local and geographic redundancy Media Server Media Resource Broker (MRB): AS MRB Media Server
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 24 Pseudo Call-flow – traditional fail-over with RE-INVITE ASMRBMS1MS2Client Call signaling – REINVITE with new addresses Media control MS1 status MS2 status Media control + call states Media
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 25 Reliability
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 26 Building for scale and reliability
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 27 Application Server signaling media Scaling WebRTC with Media Servers ‘API’
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 28 Media Server Application Server ‘API’ signaling media Scaling WebRTC with Media Servers
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 29 Media Server Application Server signaling media Scaling WebRTC with Media Servers ‘API’
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 30 Media Server Application Server signaling media MRB Scaling WebRTC with Media Servers ‘API’
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 31 Media Server Media Server-2 Application Server signaling media MRB Media Server Media Server-1 Media Server Media Server-3 Scaling WebRTC with Media Servers New york Chicago San Francisco ‘API’
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 32 MRB Media Server Media Server-2 Application Server signaling media MRB Media Server Media Server-1 Media Server Media Server-3 Scaling WebRTC with Media Servers New york Chicago San Francisco ‘API’
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 33 MRB Media Server Media Server-2 Application Server signaling media MRB-2 Media Server Media Server-1 Media Server Media Server-3 Scaling WebRTC with Media Servers New york Chicago San Francisco MRB MRB-1 MRB MRB-3 New york Chicago San Francisco ‘API’
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 34 MRB Media Server Media Server-2 Application Server-2 signaling media MRB-2 Media Server Media Server-1 Media Server Media Server-3 Scaling WebRTC with Media Servers New york Chicago San Francisco MRB MRB-1 MRB MRB-3 New york Chicago San Francisco Application Server-1 Application Server-3 ‘API’
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 35 MRB Media Server Media Server-2 Application Server-2 signaling media MRB-2 Media Server Media Server-1 Media Server Media Server-3 Scaling WebRTC with Media Servers New york Chicago San Francisco MRB MRB-1 MRB MRB-3 New york Chicago San Francisco Application Server-1 Application Server-3 LB ‘API’
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 36 LB Application Server-3 ‘API’ MRB Media Server Media Server-2 Application Server-2 signaling media MRB-2 Media Server Media Server-1 Media Server Media Server-3 Scaling WebRTC with Media Servers New york Chicago San Francisco MRB MRB-1 MRB MRB-3 New york Chicago San Francisco Application Server-1 LB ‘API’
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 37 LB Application Server-3 ‘API’ MRB Media Server Media Server-2 Application Server-2 MRB-2 Media Server Media Server-1 Media Server Media Server-3 Scaling WebRTC with Media Servers New york Chicago San Francisco MRB MRB-1 MRB MRB-3 New york Chicago San Francisco Application Server-1 LB ‘API’ Cloud IaaS / NFVI Orchestration
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 38 WEBRTC IN THE WILD WHO: SaferMobility WHAT: Mobile safety, information sharing, and emergency notification system technology Universities, Corporate campuses & hospitals Video, Audio & Location Android & iOS with WebRTC & SIP WHY WEBRTC: Endpoint cost Encryption / Security HOW MEDIA SERVER ENHANCES THE SOLUTION:
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. 39 Summary Media Servers are becoming a staple for real world deployments Many architectures to choose from – why chose? Think scale and reliability Thank you! - Any questions?