distributed osgi - osgi devcon - eclipsecon 2011
DESCRIPTION
his talk combines an introduction to the OSGi Remote Services and Remote Service Admin specifications with some compelling examples that illustrate their use and flexibility. It will also take a look at topics that these specifications have left deliberately open, such as topology management, i.e. service wire-up policy, and discuss the potential for innovation in these areas.TRANSCRIPT
www.paremus.com
Transforming the Way the World Runs Applications
Copyright © 2011 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved.www.paremus.comParemus March 2011
Distributed OSGi
Robert [email protected] www.paremus.com
www.paremus.comCopyright © 2011 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved.
Paremus March 2011
Overview
• OSGi Remote Services basics
• What OSGi Remote Services Admin (RSA) adds
• What’s a Topology Manager?
• What’s still missing?
www.paremus.com
Transforming the Way the World Runs Applications
Copyright © 2011 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved.www.paremus.comParemus March 2011
Bundles share services via the registry
www.paremus.com
Transforming the Way the World Runs Applications
Copyright © 2011 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved.www.paremus.comParemus March 2011
Add remoting at service registry level
www.paremus.comCopyright © 2011 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved.
Paremus March 2011
Remote Services: Distribution Providers
• Monitor Service Properties
‣ Export matching services
• Monitor Service Listeners (With hooks)
‣ Import on demand (maybe!)
• There can be multiple, independent DPs
www.paremus.comCopyright © 2011 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved.
Paremus March 2011
Remote Service Properties
• Configurations (remoting stacks)- configuration specific properties
• Interfaces
• Intents (from SCA)
‣ QoS & Non-Functional
‣ Can be
- Built in to services
- Required by services
- Required by admins
www.paremus.comCopyright © 2011 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved.
Paremus March 2011
Remote Services Open issues
• Open Issues
‣ How are services discovered
‣ When should they be imported
‣ How can system builders control remoting
www.paremus.comCopyright © 2011 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved.
Paremus March 2011
Remote Services Admin (RSA)
• API for Import and Export
• Endpoint Descriptions and Listeners
www.paremus.com
Transforming the Way the World Runs Applications
Copyright © 2011 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved.www.paremus.comParemus March 2011
RSA import and export
Imports and Exports are now explicit
www.paremus.comCopyright © 2011 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved.
Paremus March 2011
RSA Discovery with EndpointDescriptions
• EndpointDescriptions
‣ Just Properties
• Where do they come from?
‣ Created when you Export
‣ Can be embedded in bundles
‣ Discovered via an EndpointListener
- Or any way you like
www.paremus.com
Transforming the Way the World Runs Applications
Copyright © 2011 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved.www.paremus.comParemus March 2011
RSA: Discovery with EndpointDescriptions
www.paremus.comCopyright © 2011 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved.
Paremus March 2011
What’s a Topology Manager?
• RSA for remoting mechanics
• Topology managers for Remoting Policy and Goals
‣ Just a Concept/Role
‣ No API
www.paremus.com
Transforming the Way the World Runs Applications
Copyright © 2011 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved.www.paremus.comParemus March 2011
Alternative Topologies
Independent Pipelines
Round RobinPipelines
www.paremus.com
Transforming the Way the World Runs Applications
Copyright © 2011 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved.www.paremus.comParemus March 2011
Federated Topology Management
www.paremus.comCopyright © 2011 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved.
Paremus March 2011
Open Issue: Topology Descriptions
• How to express topology
‣ Description -> Federated TM -> Distributed System
‣ Lots of room for innovation
‣ Too early to standardise
www.paremus.comCopyright © 2011 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved.
Paremus March 2011
Open Issue: Distributed Provisioning
• RSA controls the wireup
• But how do the services get deployed
www.paremus.comCopyright © 2011 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved.
Paremus March 2011
RSA Implementations
• Eclipse ECF
• Apache CXF
• Paremus Nimble
www.paremus.com
Transforming the Way the World Runs Applications
Copyright © 2011 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved.www.paremus.comParemus March 2011
Builds on NimbleA Distributed Model Driven OSGi runtimeProvisioning and Topology descriptions
Where we fit in
OSGi Distribution (like Ubuntu is a Linux distribution)Ships with OSGi Remote Service Admin
Making Modularity Manageable™
http://www.paremus.com/nimble
www.paremus.comCopyright © 2009 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved.
www.paremus.comParemus Feb 2010
Thank you for coming
Robert [email protected]