Top Banner
David Savage | Paremus Ltd OSGi And Private Clouds
31

OSGi and Private Clouds

May 22, 2015

Download

Technology

mfrancis

Presentation on OSGi and the Cloud from OSGi Community Event 2010 and JAX London by David Savage (Paremus).

Commentary on slides part 1 available from https://blogs.paremus.com/2010/10/osgi-the-cloud-part-1/
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: OSGi and Private Clouds

David Savage | Paremus Ltd

OSGi And Private Clouds

Page 2: OSGi and Private Clouds

Agenda

• Cloud computing today• OSGi and the Cloud?

• Challenges of OSGi and the Cloud• OSGi Cloud platform + demo• Conclusion

• Questions?

Page 3: OSGi and Private Clouds

Where is cloudcomputingtoday?

Page 4: OSGi and Private Clouds

Why cloud?

• Gives you - just in time:– Processing power

– Storage capacity– Network capacity

Page 5: OSGi and Private Clouds

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

Page 6: OSGi and Private Clouds

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?

Page 7: OSGi and Private Clouds

Are we here?

Page 8: OSGi and Private Clouds

Or are we here?

Page 9: OSGi and Private Clouds

How do we get here?

Credit: NASA/ESA

Page 10: OSGi and Private Clouds

OSGi and the Cloud

Page 11: OSGi and Private Clouds

OSGi a quick review

• Standard since 1999• Modules

• Lifecycle• Services

Page 12: OSGi and Private Clouds

• Lines of code double every 7 years

• 50% of development time spent understanding code

• 90% of software cost is maintenance & evolution

An uncomfortable truth?

Source: Burton Group Analyst Kirk Koernschild - http://techdistrict.kirkk.com/

2010

2003

19961989

19821975

2017

Page 13: OSGi and Private Clouds

Types of scale

• Operational• Architectural• Administrative

Credit: NASA/ESA

Page 14: OSGi and Private Clouds

Are we dealing with scale?

• Operational ✓• Architectural ?• Administrative ?

Credit: NASA/ESA

Page 15: OSGi and Private Clouds

OSGi Cloud benefits• Customisation• Dynamic

• Lightweight

• Self-describing

Page 16: OSGi and Private Clouds

OSGi Cloud services?

• MapReduce service• Batch services

• NoSQL services• Communications services• Social networking services

• Billing services

• AJAX/HTML 5.0 services

Page 17: OSGi and Private Clouds

OSGi Cloud Challenges?

Page 18: OSGi and Private Clouds

OSGi is complex?

• Classloading• Meta data

• Availability

Page 19: OSGi and Private Clouds

OSGi Alternatives

• VM Images• WARs/EARs

• Jigsaw/QWYLT

Page 20: OSGi and Private Clouds

An OSGi CloudPlatform

credit: [email protected]

Page 21: OSGi and Private Clouds

RFP 133 – Cloud Computing• Run by the OSGi Alliance• Relevant OSGi technologies:

– Remote Services

– OSGi Bundle Repository– Subsystems– Configuration Admin

– Generic Capabilities

Page 22: OSGi and Private Clouds

Nimble a quick overview• Bundles• Repositories

• Resolver

• Shell

Author Client

Administrator

Version

Page 23: OSGi and Private Clouds

Service Fabric a quick overview• Nimble• Management

• Systems

• Provisioning

Page 24: OSGi and Private Clouds

OSGi CloudDemo

Page 25: OSGi and Private Clouds

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

Page 26: OSGi and Private Clouds

Service Fabric

Pictures tell a thousand words

StockService

StockService

StockService

StockService

MachineJVM

GWT WAB

StockService

JVM

StockService

OSGiRemote Service OSGi Remote Service

Page 27: OSGi and Private Clouds

Conclusion

Page 28: OSGi and Private Clouds

OSGi Cloud benefits

• Modular• Dynamic architecture

• Self-describing• Lightweight

Page 29: OSGi and Private Clouds

Cloud engineering

• Simplicity by encapsulation• Flexibility by abstraction

• Architecture must cope with change

Credit: NASA/ESA

Page 30: OSGi and Private Clouds

Questions

Page 31: OSGi and Private Clouds

Contact

• Web: http://www.paremus.com • Email: [email protected]

• Blog: http://chronological-thought.blogspot.com

• Twitter: @davemssavage• Book: OSGi in Action (Manning Ltd)