Skip to main content
QUICK REVIEW

[Paper Review] Towards a Viewpoint-specific Metamodel for Model-driven Development of Microservice Architecture

Florian Rademacher, Jonas Sorgalla|arXiv (Cornell University)|Apr 26, 2018
Software System Performance and ReliabilityComputer Science10 references4 citations
TL;DR

This paper proposes a viewpoint-specific metamodel for model-driven development (MDD) of microservice architectures (MSA), structured into three distinct viewpoints—Data, Service, and Operation—to support DevOps-based MSA development. It deduces concepts from existing SOA modeling approaches, integrates MSA-specific elements like API gateways and lightweight protocols, and enables automatic code generation and model transformation for heterogeneous microservice implementations.

ABSTRACT

Microservice Architecture (MSA) is a service-based architectural style with a strong emphasis on high cohesion and loose coupling. It is commonly regarded as a descendant of Service-oriented Architecture (SOA) and thus might draw on existing findings of SOA research. This paper presents a metamodel for Model-driven Development (MDD) of MSA, which is deduced from existing SOA modeling approaches, but also incorporates MSA-specific modeling concepts. It is divided into the three viewpoints Data, Service and Operation, each of which encapsulates concepts related to a certain aspect of MSA. The metamodel aims to support DevOps-based MSA development and automatic transformation of metamodel instances into MSA implementations.

Motivation & Objective

  • To address the gap in model-driven development (MDD) for microservice architecture (MSA) by adapting established SOA modeling concepts.
  • To support DevOps-based MSA development by structuring modeling concepts around stakeholder roles—domain experts, service developers, and operators.
  • To enable automatic transformation of models into MSA implementations by providing a technology-agnostic, extensible metamodel.
  • To support modeling heterogeneity in microservices by incorporating MSA-specific concepts such as API gateways, lightweight protocols, and deployment artifacts.
  • To lay the foundation for viewpoint-specific modeling languages that reduce conceptual clutter and improve usability for diverse stakeholders.

Proposed method

  • Deduced metamodel concepts from ten existing SOA modeling approaches through a multi-step analysis: concept extraction, filtering out non-applicable concepts, clustering semantically equivalent concepts, and assessing MSA applicability.
  • Organized the metamodel into three distinct viewpoints—Data, Service, and Operation—based on stakeholder responsibilities and modeling concerns to reduce conceptual clutter.
  • Designed the metamodel to support automatic code generation and model transformation, enabling end-to-end MDD for MSA.
  • Planned implementation of viewpoint-specific modeling languages using tools like GEMOC Studio, MontiCore, and Melange, evaluating them for language isolation, integration effort, and syntax support.
  • Integrated the viewpoint-specific languages via component-based language composition to maintain modularity while enabling cross-viewpoint associations.
  • Proposed a methodology for MSA-MDD based on empirical evaluation of the implemented languages with real MSA teams.

Experimental results

Research questions

  • RQ1How can existing SOA modeling approaches be adapted to support model-driven development of microservice architectures?
  • RQ2What are the key differences between SOA and MSA that must be reflected in a metamodel for MSA-MDD?
  • RQ3How can a metamodel be structured into viewpoints to support diverse stakeholders (e.g., domain experts, developers, operators) in MSA development?
  • RQ4What is the feasibility and effectiveness of implementing viewpoint-specific modeling languages that support automatic code generation and model transformation?
  • RQ5How can viewpoint-specific modeling languages be integrated while preserving modularity and supporting cross-viewpoint dependencies?

Key findings

  • The metamodel was derived from 434 SOA modeling concepts, reduced to 80 applicable concepts across 48 clusters after filtering and semantic clustering.
  • The metamodel is structured into three distinct viewpoints—Data, Service, and Operation—each tailored to specific stakeholders to reduce conceptual overhead and improve usability.
  • The metamodel supports MSA-specific concepts such as API gateways, lightweight protocols (REST, asynchronous messaging), and deployment artifacts like service-internal load balancers.
  • The metamodel enables technology heterogeneity by not binding service implementation to a single language or deployment stack, supporting multiple frameworks and deployment models.
  • The approach supports automatic code generation and model transformation, forming a foundation for DevOps-integrated MSA development.
  • The implementation plan includes viewpoint-specific modeling languages with tailored syntax (e.g., user-friendly for domain experts, concise for developers), integrated via component-based language composition using tools like GEMOC Studio and MontiCore.

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.