A Scalable Architecture for Distributed OSGi in the Cloud

Hendrik Kuijs, Christoph Reich, Martin Knahl, Nathan Clarke


Elasticity is one of the essential characteristics for cloud computing. The presented use case is a Software as a Service for Ambient Assisted Living that is configurable and extensible by the user. By adding or deleting functionality to the application, the environment has to support the increase or decrease of computational demand by scaling. This is achieved by customizing the auto scaling components of a PaaS management platform and introducing new components to scale a distributed OSGi environment across virtual machines. We present different scaling and load balancing scenarios to show the mechanics of the involved components.


  1. Apache Software Foundation (2015). ZooKeeper: Because Coordinating Distributed Systems is a Zoo. https://zookeeper.apache.org/doc/r3.5.1-alpha/.
  2. Amazon Web Services (2015a). Auto Scaling. https://aws.amazon.com/de/autoscaling/.
  3. Amazon Web Services (2015b). AWS Command Line Tools. http://docs.aws.amazon. com/general/latest/gr/GetTheTools.html.
  4. Amazon Web Services (2015c). Elastic Load Balancing - Cloud-Load Balancer. https://aws. amazon.com/de/elasticloadbalancing/.
  5. Amdatu (2015). Amdatu - Philosophy. http://www.amdatu.org/philosophy.html.
  6. Apache Software Foundation (2015a). Apache ACE. https://ace.apache.org/.
  7. Apache Software Foundation (2015b). Apache CXF - Distributed OSGi. https://cxf.apache.org/distributedosgi.html.
  8. Apache Software Foundation (2015c). Apache Stratos - Open Enterprise PaaS. http://stratos.apache.org/.
  9. Apache Software Foundation (2015d). jclouds - The Java Multi-Cloud Toolkit. https://jclouds.apache.org/.
  10. Bakker, P. and Ertman, B. (2013). Building Modular Cloud Apps with OSGi. O'Reilly Media, 1 edition.
  11. Balfanz, D., Klein, M., Schmidt, A., and Santi, M. (2008). Partizipative Entwicklung einer Middleware f ür AAL-Lösungen: Anforderungen und Konzept am Beispiel SOPRANO. In GMS Medizinische Informatik, Biometrie und Epidemiologie, volume 4(3), http://www.egms.de/static/de/journals/mibe/2008-4/ mibe000078.shtml.
  12. Cloud Foundry (2015). bosh. https://bosh.cloud foundry.org/.
  13. Ekonomou, E., Fan, L., Buchanan, W., and Thüemmler, C. (2011). An Integrated Cloud-based Healthcare Infrastructure. In Third IEEE International Conference on Cloud Computing Technology and Science, pages 532-536. IEEE Computer Society.
  14. Forkana, A., Khalil, I., and Tari, Z. (2014). CoCaMAAL: A cloud-oriented context-aware middleware in ambient assisted living. In Fortino, G. and Pathan, M., editors, Future Generation Computer Systems, volume 35, pages 114-127.
  15. Fredrich, C., Kuijs, H., and Reich, C. (2014). An ontology for user profile modeling in the field of ambient assisted living. In Koschel, A. and Zimmermann, A., editors, SERVICE COMPUTATION 2014, The Sixth International Conferences on Advanced Service Computing, volume 5, pages 24-31. IARIA.
  16. Grauel, J. and Spellerberg, A. (2007). Akzeptanz neuer Wohntechniken für ein selbstständiges Leben im Alter. In Zeitschrift für Sozialreform, volume Heft 2 Jg. 53, pages 191-215.
  17. Janse, M. D. (2008). AMIGO - Ambient Intelligence for the networked home environment. Final activity report.
  18. Kim, J. E., Boulos, G., Yackovich, J., Barth, T., Beckel, C., and Mosse, D. (2012). Seamless Integration of Heterogeneous Devices and Access Control in Smart Homes. In Eighth International Conference on Intelligent Environments.
  19. Kuijs, H., Rosencrantz, C., and Reich, C. (2015). A Context-aware, Intelligent and Flexible Ambient Assisted Living Platform Architecture. In Cloud Computing 2015: The Sixth International Conference on Cloud Computing, GRIDs and Virtualization. IARIA.
  20. Linux Foundation Collaborative Projects (2015). Cloud Foundry - The Industry Standard For Cloud Applications. https://www.cloudfoundry.org/.
  21. Luminis (2015). PulseOn - Personalized Learning - Maximizing human potential through personalized learning. http://www.pulseon.nl/en/.
  22. Mell, P. and Grance, T. (2011). The NIST Definition of Cloud Computing. Special Publication 800-145, National Institute of Standards and Technology.
  23. OSGI Alliance (2011). OSGi Service Platform Core Specification. Technical Report Release 4, Version 4.3, The OSGi Alliance.
  24. OSGi Alliance (2012). OSGi Service Platform Service Compendium. Technical Report Release 4, Version 4.3, The OSGi Alliance.
  25. Petzold, M., Kersten, K., and Arnaudov, V. (2013). OSGi-based E-Health / Assisted Living. Whitepaper, ProSyst, http://www.prosyst. com/fileadmin/ProSyst Uploads/pdf dateien/ ProSyst M2M Healthcare Whitepaper.pdf.
  26. Sadat, R., Koster, P., Mosmondor, M., Salvi, D., Girolami, M., Arnaudov, V., and Sala, P. (2013). Part III: The universAAL Reference Architecture for AAL. In Sadat, R., editor, Universal Open Architecture and Platform for Ambient Assisted Living. SINTEF.
  27. The OpenStack project (2015). Application Programming Interfaces. http://developer.openstack.org/.
  28. United Nations (2001). World Population Ageing: 1950-2050. Report, UN: Department of Economics and Social Affairs - Population Division, http://www.un.org/esa/population/publications/wolda geing19502050/.
  29. Verbelen, T., Simoens, P., Turck, F. D., and Dhoedt, B. (2012). Aiolos: Middleware for improving mobile application performance through cyber foraging. Journal of Systems and Software, 85(11):2629 - 2639.
  30. ZAFH-AAL (2014). ZAFH-AAL - Zentrum für angewandte Forschung an Hochschulen f ür Ambient Assisted Living. http://www.zafh-aal.de.

Paper Citation

in Harvard Style

Kuijs H., Reich C., Knahl M. and Clarke N. (2016). A Scalable Architecture for Distributed OSGi in the Cloud . In Proceedings of the 6th International Conference on Cloud Computing and Services Science - Volume 2: CLOSER, ISBN 978-989-758-182-3, pages 109-117. DOI: 10.5220/0005810301090117

in Bibtex Style

author={Hendrik Kuijs and Christoph Reich and Martin Knahl and Nathan Clarke},
title={A Scalable Architecture for Distributed OSGi in the Cloud},
booktitle={Proceedings of the 6th International Conference on Cloud Computing and Services Science - Volume 2: CLOSER,},

in EndNote Style

JO - Proceedings of the 6th International Conference on Cloud Computing and Services Science - Volume 2: CLOSER,
TI - A Scalable Architecture for Distributed OSGi in the Cloud
SN - 978-989-758-182-3
AU - Kuijs H.
AU - Reich C.
AU - Knahl M.
AU - Clarke N.
PY - 2016
SP - 109
EP - 117
DO - 10.5220/0005810301090117