Post on 29-Nov-2014
description
© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Satya Deep Maheshwari | Computer Scientist | Adobe Systems Robust Collaboration Services with OSGi
© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
About the speaker
Currently working as a Computer Scientist in Adobe for the past 5 and a half years
Works for Adobe Connect a web conferencing solution from Adobe
Prior work experience with Oracle, TCS
Holds 1 patent “Patent Grant number: 8131641” . Another patent pending approval.
Involved in the adoption of OSGi framework in Adobe Connect and other Adobe products.
2
© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Adobe Connect – Brief Introduction
Quoting from adobe.com
Adobe® Connect™ is a web conferencing platform for web meetings, eLearning, and webinars. It powers mission critical web conferencing solutions end-to-end, on virtually any device, and enables organizations from leading corporations to the U.S. Department of Defence to fundamentally improve productivity
3
© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Mission criticality of web conferencing solutions
4
© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Divide the risk – Avoid single point of failure
5
© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
A webinar in progress …
6
© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Something goes wrong or there’s a maintenance…
7
Monolithic architecture
© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Something goes wrong or there’s a maintenance…
8
© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
A software in not set in stone
9
© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
OSGi Advantage
Ease of plugging in/out services
Update configurations on the fly
Reduced complexity because of inherently modular design
Ability to specify version dependencies
10
On
© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Robust audio conferencing support using OSGi
11
© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Telephony Service Architecture
12
RTMP – Real Time Messaging Protocol RPC – Remote Procedure Call FMS – Flash Media Sever CPMC – Connect Pro Meeting Client
© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Non OSGi (Monolithic) deployment
13
A3
A4 A2
A1
Bridge 4
Bridge 1
Bridge 2
Bridge 3
© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
OSGi based deployment
14
A3
A4 A2
A1
Bridge 4
Bridge 1
Bridge 2
Bridge 3
© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
High Level Class Diagram
15
<<interface>> TelephonyAdaptor
<<class>> TelephonyAdaptorImpl
<<class>> TelephonyAdaptorImpl
<<class>> TelephonyAdaptorImpl
<<class>> TelephonyManagerImpl
<<interface>> TelephonyManager
ReferenceCardinality OPTIONAL_MULTIPLE
© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Asynchronous workflows
16
Telephony Service
CSP Web Service
Endpoint
Adaptor
Start Conference
Start Conference
Acknowledge
Callback
Conference Started
© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Using OSGi event admin service for async workflows
17
Callback Servlet Event Admin
Service
Event Handler (Topic 3)
Event Handler (Topic 2)
Event Handler (Topic 1)
Meeting Room 1 Meeting Room 1 Meeting Room 1
External Callback Post async event
Handle Event by topic
Send event via RTMP connection
Send event via RTMP connection
Send event via RTMP connection
© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
OSGi based Connect Application Server - in concept
18
Persistence Service
Event Registration
Meeting Scheduling
Training management
Background Services
Web Interface
OSGi Container
© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.