robust collaboration services with osgi - satya maheshwari

19
© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Satya Deep Maheshwari | Computer Scientist | Adobe Systems Robust Collaboration Services with OSGi

Upload: mfrancis

Post on 29-Nov-2014

1.051 views

Category:

Business


1 download

DESCRIPTION

OSGi Community Event 2013 (http://www.osgi.org/CommunityEvent2013/Schedule)

TRANSCRIPT

Page 1: Robust collaboration services with OSGi - Satya Maheshwari

© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Satya Deep Maheshwari | Computer Scientist | Adobe Systems Robust Collaboration Services with OSGi

Page 2: Robust collaboration services with OSGi - Satya Maheshwari

© 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

Page 3: Robust collaboration services with OSGi - Satya Maheshwari

© 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

Page 4: Robust collaboration services with OSGi - Satya Maheshwari

© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Mission criticality of web conferencing solutions

4

Page 5: Robust collaboration services with OSGi - Satya Maheshwari

© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Divide the risk – Avoid single point of failure

5

Page 6: Robust collaboration services with OSGi - Satya Maheshwari

© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

A webinar in progress …

6

Page 7: Robust collaboration services with OSGi - Satya Maheshwari

© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Something goes wrong or there’s a maintenance…

7

Monolithic architecture

Page 8: Robust collaboration services with OSGi - Satya Maheshwari

© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Something goes wrong or there’s a maintenance…

8

Page 9: Robust collaboration services with OSGi - Satya Maheshwari

© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

A software in not set in stone

9

Page 10: Robust collaboration services with OSGi - Satya Maheshwari

© 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

Page 11: Robust collaboration services with OSGi - Satya Maheshwari

© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Robust audio conferencing support using OSGi

11

Page 12: Robust collaboration services with OSGi - Satya Maheshwari

© 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

Page 13: Robust collaboration services with OSGi - Satya Maheshwari

© 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

Page 14: Robust collaboration services with OSGi - Satya Maheshwari

© 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

Page 15: Robust collaboration services with OSGi - Satya Maheshwari

© 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

Page 16: Robust collaboration services with OSGi - Satya Maheshwari

© 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

Page 17: Robust collaboration services with OSGi - Satya Maheshwari

© 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

Page 18: Robust collaboration services with OSGi - Satya Maheshwari

© 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

Page 19: Robust collaboration services with OSGi - Satya Maheshwari

© 2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.