Skip to main content
QUICK REVIEW

[Paper Review] Kevoree Modeling Framework (KMF): Efficient modeling techniques for runtime use

François Fouquet, Grégory Nain|arXiv (Cornell University)|May 27, 2014
Model-Driven Software Engineering TechniquesComputer Science21 references16 citations
TL;DR

This paper proposes the Kevoree Modeling Framework (KMF) as an efficient alternative to EMF for runtime model manipulation in resource-constrained environments like IoT and cloud systems. KMF improves performance through optimized memory usage, partial cloning with read-only fragments, and a path-based query language (KMFQL-PS), reducing model operations from 35 seconds (EMF) to under 2.5 seconds in benchmarks.

ABSTRACT

The creation of Domain Specific Languages(DSL) counts as one of the main goals in the field of Model-Driven Software Engineering (MDSE). The main purpose of these DSLs is to facilitate the manipulation of domain specific concepts, by providing developers with specific tools for their domain of expertise. A natural approach to create DSLs is to reuse existing modeling standards and tools. In this area, the Eclipse Modeling Framework (EMF) has rapidly become the defacto standard in the MDSE for building Domain Specific Languages (DSL) and tools based on generative techniques. However, the use of EMF generated tools in domains like Internet of Things (IoT), Cloud Computing or Models@Runtime reaches several limitations. In this paper, we identify several properties the generated tools must comply with to be usable in other domains than desktop-based software systems. We then challenge EMF on these properties and describe our approach to overcome the limitations. Our approach, implemented in the Kevoree Modeling Framework (KMF), is finally evaluated according to the identified properties and compared to EMF.

Motivation & Objective

  • Address the limitations of EMF in runtime model manipulation for domains like IoT and cloud computing.
  • Identify critical performance requirements for model APIs used at runtime, including memory efficiency, fast cloning, and efficient lookup.
  • Design and implement KMF as a lightweight, high-performance alternative to EMF that supports real-time model operations.
  • Enable efficient model management in dynamic systems requiring frequent model comparison, merging, and adaptation.
  • Support deployment in memory-constrained environments such as embedded systems and Android platforms.

Proposed method

  • Reimplement EMF-style model generation with reduced memory footprint and optimized data structures.
  • Introduce a partial clone mechanism that supports read-only fragments to avoid redundant memory allocation.
  • Design and integrate a path-based query language (KMFQL-PS) inspired by database path expressions for fast model element access.
  • Optimize model lookup and comparison by leveraging unique identifiers for elements, reducing O(n) searches to O(1) in many cases.
  • Implement efficient serialization and deserialization for model loading and saving, minimizing I/O overhead.
  • Evaluate KMF against EMF using real-world models from IoT, cloud, and dynamic adaptation use cases to measure performance gains.

Experimental results

Research questions

  • RQ1What performance bottlenecks does EMF exhibit when used for models@runtime in IoT and cloud environments?
  • RQ2How can model cloning be optimized to reduce memory usage and execution time in dynamic runtime scenarios?
  • RQ3To what extent can path-based querying improve the efficiency of model element access compared to standard traversal?
  • RQ4Can a model framework be designed to support both high performance and runtime adaptability in resource-constrained systems?
  • RQ5How do KMF’s features—partial cloning, read-only fragments, and KMFQL-PS—collectively improve end-to-end model operation performance?

Key findings

  • KMF reduces the total time for model loading, cloning, searching, and saving from 35 seconds (EMF) to under 2.5 seconds on a representative model.
  • The use of unique identifiers in KMF improves lookup resolution performance, with 99% of elements having IDs leading to significant speedups.
  • Partial cloning with read-only fragments reduces cloning time proportionally to the percentage of read-only elements, achieving near-inversely proportional performance gains.
  • The KMFQL-PS path selector enables fast, direct access to model elements, drastically reducing traversal overhead compared to iterative search.
  • KMF achieves an average performance improvement of 28% over EMF in end-to-end model operations, with even greater gains in lookup and cloning.
  • The optimized KMF implementation enables deployment in memory-constrained environments such as Android and embedded JVMs, which EMF struggles to support.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.