Skip to main content
QUICK REVIEW

[Paper Review] Towards a Technique for Extracting Microservices from Monolithic Enterprise Systems

Alessandra Levcovitz, Ricardo Terra|arXiv (Cornell University)|May 10, 2016
Software System Performance and ReliabilityComputer Science6 references94 citations
TL;DR

This paper proposes a technique to identify microservice candidates in monolithic enterprise systems by analyzing database table dependencies, dependency graphs, and facade-table access paths. Applied to a 750 KLOC banking system, the method successfully identified 4 out of 5 subsystems as viable microservices candidates, enabling incremental migration with benefits like independent deployment and technology flexibility.

ABSTRACT

The idea behind microservices architecture is to develop a single large, complex application as a suite of small, cohesive, independent services. On the other way, monolithic systems get larger over the time, deviating from the intended architecture, and becoming risky and expensive to evolve. This paper describes a technique to identify and define microservices on monolithic enterprise systems. As the major contribution, our evaluation shows that our approach was able to identify relevant candidates to become microservices on a 750 KLOC banking system.

Motivation & Objective

  • To address the challenge of evolving large, monolithic enterprise systems that become hard to maintain and extend over time.
  • To provide a systematic approach for identifying viable microservice candidates within existing monolithic architectures.
  • To enable incremental migration to microservices without full architectural overhaul.
  • To support independent development, deployment, and technology choice per service.
  • To evaluate the feasibility and practical benefits of microservice extraction in real-world enterprise systems.

Proposed method

  • Map database tables to subsystems based on business areas, with a special Control Subsystem for non-business tables.
  • Construct a dependency graph with vertices for facades, business functions, and database tables, and edges for calls and data accesses.
  • Identify all (facade, table) pairs connected via paths in the dependency graph to trace data and control flow.
  • Group these pairs by subsystems to isolate candidate microservices per business area.
  • Evaluate each candidate based on access patterns, communication patterns, and potential for independent deployment.
  • Discard candidates with shared tables across subsystems or high coupling to avoid complex refactoring.

Experimental results

Research questions

  • RQ1Can a systematic technique identify viable microservice candidates in a large monolithic enterprise system?
  • RQ2How effective is the proposed method in isolating cohesive, independently deployable services from a monolithic codebase?
  • RQ3What are the practical challenges and trade-offs in migrating specific subsystems to microservices?
  • RQ4To what extent can the migration to microservices be performed incrementally without full system refactoring?
  • RQ5Which subsystems are unsuitable for microservice migration due to architectural constraints?

Key findings

  • The technique successfully identified 4 out of 5 subsystems in a 750 KLOC banking system as suitable candidates for migration to microservices.
  • The dependency graph analysis enabled clear identification of service boundaries and data access patterns.
  • Subsystems like Service Charge, Checks, and SMS Channel were deemed good candidates due to high cohesion and clear interface boundaries.
  • The Client subsystem was not recommended for migration due to high coupling with over 50 API gateways and low benefit-to-effort ratio.
  • Subsystems sharing database tables were excluded due to the risk of data inconsistency and complex refactoring.
  • The method supports incremental migration, allowing monolithic and microservice architectures to coexist in production systems.

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.