This document discusses OSGi and private clouds. It provides an overview of cloud computing today and the benefits of private clouds over public clouds in terms of data ownership and control. The document then discusses how OSGi, with its modularity and dynamic features, is well-suited for cloud platforms and provides benefits like customization, dynamism, and lightweight architectures. It acknowledges challenges with OSGi and cloud integration like complexity, classloading issues, and metadata handling. The document describes an OSGi-based cloud platform called Nimble and Service Fabric that provides repositories, provisioning, and management features. It concludes with a demonstration of deploying an OSGi application to a single VM and scaling it using this platform.
4. Why cloud?
• Gives you - just in time:
– Processing power
– Storage capacity
– Network capacity
5. Cloud Realities
• Multiple APIs (e.g. Data Access)
• Limited APIs – Google = No threads
(for example)
• Course grained @ scale VM image
• Not infinite resources
– Contention
– Latency
6. Why Private Cloud?
• Data ownership risks
• Data inertia – difficult to move once you
start
• API lock-in – difficult to move to another
provider
• SLA – if the $%&£ hits the fan can I spin
up fast enough?
11. OSGi a quick review
• Standard since 1999
• Modules
• Lifecycle
• Services
12. An uncomfortable truth?
• Lines of code double every 7 years
• 50% of development time spent
understanding code
• 90% of software cost is maintenance &
evolution
2003
2010 2017
1989
1996 1975
1982
Source: Burton Group Analyst Kirk Koernschild - http://techdistrict.kirkk.com/
25. What I'm going to demo
• GWT stock quote example from “OSGi
In Action” deploy using Nimble
• Deploy web front end + dependencies
• Deploy back end on single vm
• Use fabric to scale up/down number of
back end services
26. Pictures tell a thousand words
Service Fabric
Stock
Service
Machine
JVM
GWT WAB
OSGi Stock
Remote Service
JVM OSGi Remote Service
Service
Stock
Service
Stock
Service
Stock
Service
Stock
Service