Data Model Decomposition Using Community Detection for Microservices
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing application modernization and migration techniques focus solely on the software layer, neglecting the underlying data model, leading to incomplete microservices decomposition and monolithic behavior in database applications, even under microservices architecture.
Innovation Solution
An improved computing tool employing complex networking analysis to create a static data model network, capture use case interactions, and apply community detection algorithms to generate a decomposed data model, optimizing cohesion and dispersion indices for effective migration and modernization.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of manufacture
If application modernization techniques focus solely on the software layer, then the decomposition of systems based on software structures (packages, classes, logical structures) is optimized, but the underlying data model interdependencies are neglected leading to incomplete microservices decomposition and monolithic behavior
Solution Approach 1:
The patent segments the system decomposition process into two complementary dimensions: software layer segmentation (packages, classes, logical structures) and data model segmentation (database objects, tables, views, procedures). By analyzing interdependencies across both layers, the system identifies proper decomposition boundaries that respect both software architecture and data relationships, preventing premature or incorrect microservice separation.
Solution Approach 2:
The patent introduces an intermediary analysis layer that examines the relationships between software components and data model objects. This intermediary analysis reveals hidden dependencies that cross traditional software layer boundaries, enabling the identification of true decomposition boundaries that maintain data integrity while achieving microservices architecture goals.
2Ease of operation
If traditional migration techniques are used without considering data model relationships, then application migration to new computing environments is simplified, but hidden interdependencies between database objects are missed leading to migration failures
Solution Approach 1:
The patent performs preliminary analysis of data model interdependencies before executing the migration operation. By constructing a comprehensive dependency graph that includes database objects, their relationships, and connections to software components, the system identifies potential migration issues in advance, such as circular dependencies, missing foreign keys, or unresolved references, and provides remediation guidance before migration begins.
Solution Approach 2:
The patent implements a feedback mechanism that provides detailed information about data model interdependencies and migration readiness to the user. The system analyzes the dependency graph, identifies potential issues, and returns actionable feedback including warnings about problematic relationships and suggestions for resolution, enabling informed migration decisions.
Data Source
AI summary
Mechanisms are provided to perform application modernization through data modularization by using complex networking analysis. A static network of a data model is generated comprising nodes for database objects. Use case information is collected for use cases and community detection is performed on the static network to generate communities of database objects. A cohesion index for each community is determined and the use case information is integrated into the static model to generate a dynamic model having use case node(s) and edges representing interactions between the use case with database objects of the static model. A dispersion index is generated for each use case node and, in response to the dispersion index having a predetermined condition, the communities are dynamically optimized based on the cohesion index and the dispersion index to thereby generate a decomposed data model which is used for application modernization and/or migration.


