SlideShare a Scribd company logo
1 of 22
Download to read offline
Anthony Gelibert - LIG Grenoble



   OSGi and Terracotta:
State replication of clustered
           services
Agenda

      • Context

      • Terracotta

      • OSGi and Terracotta

      • Future work

September 2010   GELIBERT – OSGi and Terracotta: Repliation of states for clustered services   2
Agenda

      •Context
      • Terracotta



      • OSGi and Terracotta



      • Future work




September 2010   GELIBERT – OSGi and Terracotta: Repliation of states for clustered services   3
About

      • Anthony Gelibert
           – MSc at Master of Science in Informatics
             at Grenoble (2010)
           – Engineer Degree at École Nationale
             Supérieure d’Informatique et de
             Mathématiques Appliquées de Grenoble
             (2010)



September 2010   GELIBERT – OSGi and Terracotta: Repliation of states for clustered services   4
OSGi and distribution

      • Distributed execution:
           – R-OSGi (Research)
           – OSGi Remote Services (Specification)

      • Distributed deployment:
           – OSGi4C (Research)

      • Shared Memory : our approach

September 2010   GELIBERT – OSGi and Terracotta: Repliation of states for clustered services   5
OSGi and distribution (cont.)

      • R-OSGi:
         – Transparently invoke distant services
         – RMI-like
      • OSGi4C:
         – Distributed bundle deployment
         – Runs locally
      • Terracotta:
         – Shared memory

September 2010   GELIBERT – OSGi and Terracotta: Repliation of states for clustered services   6
Objective




September 2010   GELIBERT – OSGi and Terracotta: Repliation of states for clustered services   7
Use cases
      • Traditional targets of distributed
        shared memory:
           – State share, Message bus, …

      • Problems requiring the use of
        distributed methods.

      • Re-engineering of existing
        solutions.
September 2010   GELIBERT – OSGi and Terracotta: Repliation of states for clustered services   8
Agenda
      • Context




      •Terracotta
      • OSGi and Terracotta



      • Future work




September 2010   GELIBERT – OSGi and Terracotta: Repliation of states for clustered services   9
Terracotta: N.A.M.

      • Network-Attached Memory
      • No API
      • No Serialization
      • Cross-JVM coordination
      • Distributed Method Invocations
      • Runtime monitoring and control

September 2010   GELIBERT – OSGi and Terracotta: Repliation of states for clustered services   10
Terracotta: configuration
      • No API: declarative configuration




September 2010   GELIBERT – OSGi and Terracotta: Repliation of states for clustered services   11
Teracotta: no serialization

      • Plain POJO clustering

      • Dynamic instrumentation through a
        Java Agent

      • Fine-grained replication


September 2010   GELIBERT – OSGi and Terracotta: Repliation of states for clustered services   12
Terracotta: D.M.I

      • Distributed Method Invocations.
      • When a node calls a method, all
        nodes replicate it (locally).
      • Development close to MPI:
           – The same code is executed at the same
             time on each node.
           – Requires distinguishing each element.


September 2010   GELIBERT – OSGi and Terracotta: Repliation of states for clustered services   13
Agenda
      • Context



      • Terracotta




      •OSGi and Terracotta
      • Future work




September 2010   GELIBERT – OSGi and Terracotta: Repliation of states for clustered services   14
OSGi and Terracotta: Toolchain
      • Delegate class loading from OSGi to
        Terracotta.

      • A set of Java 5 Annotations.

      • An APT processor to generate the
        Terracotta config file.

September 2010   GELIBERT – OSGi and Terracotta: Repliation of states for clustered services   15
Toolchain (cont.)




September 2010   GELIBERT – OSGi and Terracotta: Repliation of states for clustered services   16
Toolchain (cont.)




September 2010   GELIBERT – OSGi and Terracotta: Repliation of states for clustered services   17
Validation

      • EventAdmin: propagation of events
        across multiple platforms.
      • Cilia: replication/persistence in
        pervasive applications.
      • H-Omega: Replacement of message
        passing by a shared memory.
      • uGASP: State share for a DTN
        application
September 2010   GELIBERT – OSGi and Terracotta: Repliation of states for clustered services   18
Agenda
      • Context



      • Terracotta



      • OSGi and Terracotta




      •Future work

September 2010   GELIBERT – OSGi and Terracotta: Repliation of states for clustered services   19
Future work

      • Extension of the container:
           – Enhancement Terracotta integration
           – Add persistence, cache, …


      • Dynamically update clustered
        services at run-time


September 2010   GELIBERT – OSGi and Terracotta: Repliation of states for clustered services   20
For more information

     • Terracotta
       Documentation, download, …
       http://www.terracotta.org
       Open Source
       http://www.terracotta.org/open-source
     • Felix
       http://felix.apache.org
     • Chameleon
       http://wiki.chameleon.ow2.org

September 2010   GELIBERT – OSGi and Terracotta: Repliation of states for clustered services   21
THANK YOU FOR YOUR
               ATTENTION!
                 Contact: anthony.gelibert@me.com




September 2010   GELIBERT – OSGi and Terracotta: Repliation of states for clustered services   22

More Related Content

What's hot

ICOS Carbon Data Portal
ICOS Carbon Data PortalICOS Carbon Data Portal
ICOS Carbon Data Portal
Oscar Fonts
 
Finding direction marble goes mobile
Finding direction marble goes mobileFinding direction marble goes mobile
Finding direction marble goes mobile
Marble Virtual Globe
 
Gallinaによる証明駆動開発の魅力
Gallinaによる証明駆動開発の魅力Gallinaによる証明駆動開発の魅力
Gallinaによる証明駆動開発の魅力
Hiroki Mizuno
 

What's hot (20)

Geosolutions gwf-2015-v01.04
Geosolutions gwf-2015-v01.04Geosolutions gwf-2015-v01.04
Geosolutions gwf-2015-v01.04
 
Mapping the world beyond web mercator - FOSS4G 2015
Mapping the world beyond web mercator - FOSS4G 2015Mapping the world beyond web mercator - FOSS4G 2015
Mapping the world beyond web mercator - FOSS4G 2015
 
OpenHistoricMap: overview
OpenHistoricMap: overviewOpenHistoricMap: overview
OpenHistoricMap: overview
 
Analysing OpenStreetMap Data with QGIS
Analysing OpenStreetMap Data with QGISAnalysing OpenStreetMap Data with QGIS
Analysing OpenStreetMap Data with QGIS
 
Advanced Cartographic Map Rendering In GeoServer
Advanced Cartographic Map Rendering In GeoServerAdvanced Cartographic Map Rendering In GeoServer
Advanced Cartographic Map Rendering In GeoServer
 
Raster Data In GeoServer And GeoTools: Achievements, Issues And Future Develo...
Raster Data In GeoServer And GeoTools: Achievements, Issues And Future Develo...Raster Data In GeoServer And GeoTools: Achievements, Issues And Future Develo...
Raster Data In GeoServer And GeoTools: Achievements, Issues And Future Develo...
 
CLIWOC Attributes
CLIWOC AttributesCLIWOC Attributes
CLIWOC Attributes
 
Neo4j Spatial - FooCafe September 2015
Neo4j Spatial - FooCafe September 2015Neo4j Spatial - FooCafe September 2015
Neo4j Spatial - FooCafe September 2015
 
MapServer Project Status 2013
MapServer Project Status 2013MapServer Project Status 2013
MapServer Project Status 2013
 
Raster data in GeoServer and GeoTools: Achievements, issues and future develo...
Raster data in GeoServer and GeoTools: Achievements, issues and future develo...Raster data in GeoServer and GeoTools: Achievements, issues and future develo...
Raster data in GeoServer and GeoTools: Achievements, issues and future develo...
 
Phd defense slides
Phd defense slidesPhd defense slides
Phd defense slides
 
Virtual layer for validate overlay in shapefile
Virtual layer for validate overlay in shapefileVirtual layer for validate overlay in shapefile
Virtual layer for validate overlay in shapefile
 
Eighth openCypher Implementers Group Meeting: Status Update
Eighth openCypher Implementers Group Meeting: Status UpdateEighth openCypher Implementers Group Meeting: Status Update
Eighth openCypher Implementers Group Meeting: Status Update
 
Pilot phase Award Ceremony - INFN Introduction and welcome
Pilot phase Award Ceremony - INFN Introduction and welcomePilot phase Award Ceremony - INFN Introduction and welcome
Pilot phase Award Ceremony - INFN Introduction and welcome
 
ICOS Carbon Data Portal
ICOS Carbon Data PortalICOS Carbon Data Portal
ICOS Carbon Data Portal
 
GeoServer on steroids
GeoServer on steroidsGeoServer on steroids
GeoServer on steroids
 
Finding direction marble goes mobile
Finding direction marble goes mobileFinding direction marble goes mobile
Finding direction marble goes mobile
 
Logarithms Day 2
Logarithms Day 2Logarithms Day 2
Logarithms Day 2
 
Act 00085 i towns, nouveau framework pour la visualisation 3d web
Act 00085 i towns, nouveau framework pour la visualisation 3d webAct 00085 i towns, nouveau framework pour la visualisation 3d web
Act 00085 i towns, nouveau framework pour la visualisation 3d web
 
Gallinaによる証明駆動開発の魅力
Gallinaによる証明駆動開発の魅力Gallinaによる証明駆動開発の魅力
Gallinaによる証明駆動開発の魅力
 

Viewers also liked (7)

Kalyan Resume
Kalyan ResumeKalyan Resume
Kalyan Resume
 
Final Cut Pro 7 Certification Lesson 5
Final Cut Pro 7 Certification Lesson 5Final Cut Pro 7 Certification Lesson 5
Final Cut Pro 7 Certification Lesson 5
 
Branding identity
Branding identityBranding identity
Branding identity
 
Internet Video: The Big Picture on the Small Screen by Paul T.M. Hemenway
Internet Video: The Big Picture on the Small Screen by Paul T.M. HemenwayInternet Video: The Big Picture on the Small Screen by Paul T.M. Hemenway
Internet Video: The Big Picture on the Small Screen by Paul T.M. Hemenway
 
Final Cut Pro 7 Certification Lesson 3
Final Cut Pro 7 Certification Lesson 3Final Cut Pro 7 Certification Lesson 3
Final Cut Pro 7 Certification Lesson 3
 
Final Cut Pro X Lesson 7
Final Cut Pro X Lesson 7Final Cut Pro X Lesson 7
Final Cut Pro X Lesson 7
 
Final Cut Pro X Weynand Certification Lesson 3
Final Cut Pro X Weynand Certification Lesson 3Final Cut Pro X Weynand Certification Lesson 3
Final Cut Pro X Weynand Certification Lesson 3
 

Similar to OSGi Community Event 2010 — OSGi and Terracotta - Replication of states for clustered services

Geographica: A Benchmark for Geospatial RDF Stores - ISWC 2013
Geographica: A Benchmark for Geospatial RDF Stores - ISWC 2013Geographica: A Benchmark for Geospatial RDF Stores - ISWC 2013
Geographica: A Benchmark for Geospatial RDF Stores - ISWC 2013
Kostis Kyzirakos
 

Similar to OSGi Community Event 2010 — OSGi and Terracotta - Replication of states for clustered services (20)

FreeGIS.net, INSPIRE, Open Source Software and OGC standards
FreeGIS.net, INSPIRE, Open Source Software and OGC standardsFreeGIS.net, INSPIRE, Open Source Software and OGC standards
FreeGIS.net, INSPIRE, Open Source Software and OGC standards
 
Analysis Ready Data workshop - OGC presentation
Analysis Ready Data workshop - OGC presentation Analysis Ready Data workshop - OGC presentation
Analysis Ready Data workshop - OGC presentation
 
OGC Update for State of Geospatial Tech at T-Rex
OGC Update for State of Geospatial Tech at T-RexOGC Update for State of Geospatial Tech at T-Rex
OGC Update for State of Geospatial Tech at T-Rex
 
EclipseCon Europe 2011 Virgo 3.0
EclipseCon Europe 2011 Virgo 3.0EclipseCon Europe 2011 Virgo 3.0
EclipseCon Europe 2011 Virgo 3.0
 
Virgo 3.0, OSGi middleware server from EclipseRT – Christopher Frost
Virgo 3.0, OSGi middleware server from EclipseRT – Christopher FrostVirgo 3.0, OSGi middleware server from EclipseRT – Christopher Frost
Virgo 3.0, OSGi middleware server from EclipseRT – Christopher Frost
 
GEO Analytics Canada Overview April 2020
GEO Analytics Canada Overview April 2020GEO Analytics Canada Overview April 2020
GEO Analytics Canada Overview April 2020
 
CERN Batch in the HNSciCloud
CERN Batch in the HNSciCloudCERN Batch in the HNSciCloud
CERN Batch in the HNSciCloud
 
Bringing OSG users to the PRP Kubernetes Cluster
Bringing OSG users to the PRP Kubernetes ClusterBringing OSG users to the PRP Kubernetes Cluster
Bringing OSG users to the PRP Kubernetes Cluster
 
Q4 2016 GeoTrellis Presentation
Q4 2016 GeoTrellis PresentationQ4 2016 GeoTrellis Presentation
Q4 2016 GeoTrellis Presentation
 
Geo Analytics Canada Overview - May 2020
Geo Analytics Canada Overview - May 2020Geo Analytics Canada Overview - May 2020
Geo Analytics Canada Overview - May 2020
 
OTB-FOSS4G-2010
OTB-FOSS4G-2010OTB-FOSS4G-2010
OTB-FOSS4G-2010
 
PLNOG 22 - Manfred Lang - Automatyzacja widoczności – dynamiczne podejście w ...
PLNOG 22 - Manfred Lang - Automatyzacja widoczności – dynamiczne podejście w ...PLNOG 22 - Manfred Lang - Automatyzacja widoczności – dynamiczne podejście w ...
PLNOG 22 - Manfred Lang - Automatyzacja widoczności – dynamiczne podejście w ...
 
Big Data for Local Context
Big Data for Local ContextBig Data for Local Context
Big Data for Local Context
 
Geographica: A Benchmark for Geospatial RDF Stores - ISWC 2013
Geographica: A Benchmark for Geospatial RDF Stores - ISWC 2013Geographica: A Benchmark for Geospatial RDF Stores - ISWC 2013
Geographica: A Benchmark for Geospatial RDF Stores - ISWC 2013
 
GeoPackage SWG Overview
GeoPackage SWG OverviewGeoPackage SWG Overview
GeoPackage SWG Overview
 
IV. Jornadas Sig Libre: The State of OSGeo and the Global SDI
IV. Jornadas Sig Libre: The State of OSGeo and the Global SDIIV. Jornadas Sig Libre: The State of OSGeo and the Global SDI
IV. Jornadas Sig Libre: The State of OSGeo and the Global SDI
 
2014 11-05 hpcac-kniep_christian_dockermpi
2014 11-05 hpcac-kniep_christian_dockermpi2014 11-05 hpcac-kniep_christian_dockermpi
2014 11-05 hpcac-kniep_christian_dockermpi
 
BigDataEurope 1st SC5 Workshop, Project Teleios & LEO, by M. Koubarakis, Univ...
BigDataEurope 1st SC5 Workshop, Project Teleios & LEO, by M. Koubarakis, Univ...BigDataEurope 1st SC5 Workshop, Project Teleios & LEO, by M. Koubarakis, Univ...
BigDataEurope 1st SC5 Workshop, Project Teleios & LEO, by M. Koubarakis, Univ...
 
London Java Community: Spring Cloud -> Docker -> Kubernetes
London Java Community: Spring Cloud -> Docker -> KubernetesLondon Java Community: Spring Cloud -> Docker -> Kubernetes
London Java Community: Spring Cloud -> Docker -> Kubernetes
 
GRP 19 - Nautilus, IceCube and LIGO
GRP 19 - Nautilus, IceCube and LIGOGRP 19 - Nautilus, IceCube and LIGO
GRP 19 - Nautilus, IceCube and LIGO
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 

OSGi Community Event 2010 — OSGi and Terracotta - Replication of states for clustered services

  • 1. Anthony Gelibert - LIG Grenoble OSGi and Terracotta: State replication of clustered services
  • 2. Agenda • Context • Terracotta • OSGi and Terracotta • Future work September 2010 GELIBERT – OSGi and Terracotta: Repliation of states for clustered services 2
  • 3. Agenda •Context • Terracotta • OSGi and Terracotta • Future work September 2010 GELIBERT – OSGi and Terracotta: Repliation of states for clustered services 3
  • 4. About • Anthony Gelibert – MSc at Master of Science in Informatics at Grenoble (2010) – Engineer Degree at École Nationale Supérieure d’Informatique et de Mathématiques Appliquées de Grenoble (2010) September 2010 GELIBERT – OSGi and Terracotta: Repliation of states for clustered services 4
  • 5. OSGi and distribution • Distributed execution: – R-OSGi (Research) – OSGi Remote Services (Specification) • Distributed deployment: – OSGi4C (Research) • Shared Memory : our approach September 2010 GELIBERT – OSGi and Terracotta: Repliation of states for clustered services 5
  • 6. OSGi and distribution (cont.) • R-OSGi: – Transparently invoke distant services – RMI-like • OSGi4C: – Distributed bundle deployment – Runs locally • Terracotta: – Shared memory September 2010 GELIBERT – OSGi and Terracotta: Repliation of states for clustered services 6
  • 7. Objective September 2010 GELIBERT – OSGi and Terracotta: Repliation of states for clustered services 7
  • 8. Use cases • Traditional targets of distributed shared memory: – State share, Message bus, … • Problems requiring the use of distributed methods. • Re-engineering of existing solutions. September 2010 GELIBERT – OSGi and Terracotta: Repliation of states for clustered services 8
  • 9. Agenda • Context •Terracotta • OSGi and Terracotta • Future work September 2010 GELIBERT – OSGi and Terracotta: Repliation of states for clustered services 9
  • 10. Terracotta: N.A.M. • Network-Attached Memory • No API • No Serialization • Cross-JVM coordination • Distributed Method Invocations • Runtime monitoring and control September 2010 GELIBERT – OSGi and Terracotta: Repliation of states for clustered services 10
  • 11. Terracotta: configuration • No API: declarative configuration September 2010 GELIBERT – OSGi and Terracotta: Repliation of states for clustered services 11
  • 12. Teracotta: no serialization • Plain POJO clustering • Dynamic instrumentation through a Java Agent • Fine-grained replication September 2010 GELIBERT – OSGi and Terracotta: Repliation of states for clustered services 12
  • 13. Terracotta: D.M.I • Distributed Method Invocations. • When a node calls a method, all nodes replicate it (locally). • Development close to MPI: – The same code is executed at the same time on each node. – Requires distinguishing each element. September 2010 GELIBERT – OSGi and Terracotta: Repliation of states for clustered services 13
  • 14. Agenda • Context • Terracotta •OSGi and Terracotta • Future work September 2010 GELIBERT – OSGi and Terracotta: Repliation of states for clustered services 14
  • 15. OSGi and Terracotta: Toolchain • Delegate class loading from OSGi to Terracotta. • A set of Java 5 Annotations. • An APT processor to generate the Terracotta config file. September 2010 GELIBERT – OSGi and Terracotta: Repliation of states for clustered services 15
  • 16. Toolchain (cont.) September 2010 GELIBERT – OSGi and Terracotta: Repliation of states for clustered services 16
  • 17. Toolchain (cont.) September 2010 GELIBERT – OSGi and Terracotta: Repliation of states for clustered services 17
  • 18. Validation • EventAdmin: propagation of events across multiple platforms. • Cilia: replication/persistence in pervasive applications. • H-Omega: Replacement of message passing by a shared memory. • uGASP: State share for a DTN application September 2010 GELIBERT – OSGi and Terracotta: Repliation of states for clustered services 18
  • 19. Agenda • Context • Terracotta • OSGi and Terracotta •Future work September 2010 GELIBERT – OSGi and Terracotta: Repliation of states for clustered services 19
  • 20. Future work • Extension of the container: – Enhancement Terracotta integration – Add persistence, cache, … • Dynamically update clustered services at run-time September 2010 GELIBERT – OSGi and Terracotta: Repliation of states for clustered services 20
  • 21. For more information • Terracotta Documentation, download, … http://www.terracotta.org Open Source http://www.terracotta.org/open-source • Felix http://felix.apache.org • Chameleon http://wiki.chameleon.ow2.org September 2010 GELIBERT – OSGi and Terracotta: Repliation of states for clustered services 21
  • 22. THANK YOU FOR YOUR ATTENTION! Contact: anthony.gelibert@me.com September 2010 GELIBERT – OSGi and Terracotta: Repliation of states for clustered services 22