Building a Log Stack Trace Framework for Microservices Architecture a Simulation Study

Microservices architecture (MSA) has become increasingly popular in recent years due to its numerous benefits. Many companies are migrating their monolithic applications to an MSA, where each service operates independently, often with its own persistence layer, and interacts with both internal and external services. These services may also participate in an event-driven architecture, emitting and consuming events. However, as the number of services increases, it becomes more challenging to trace request flows across services for debugging. The sheer volume of logs generated by these systems can make data collection and analysis to identify the root cause resource-intensive and costly. While distributed tracing tools can track service calls, they often fall short in capturing custom logs across multiple services. Traditional logging approaches are inefficient in this context due to the complex interactions between services and limitations in log level configurations. This paper proposes a framework that can be integrated into each service within an MSA to collect log data and create a detailed stack trace of calls across services during events such as errors. This approach would help System Reliability Engineers and developers quickly debug issues and identify root causes. The framework supports structured logging, correlates logs with specific events and services, and enables efficient real-time monitoring of the system.

Authors

Publication Details

Published
2024-10-19
DOI
https://doi.org/10.5121/csit.2024.141905
Primary Topic
Software System Performance and Reliability
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Building a Log Stack Trace Framework for Microservices Architecture a Simulation Study

R. Ramachandran
Software System Performance and Reliability
article

Building a Log Stack Trace Framework for Microservices Architecture a Simulation Study

R. Ramachandran
article en

Abstract

Microservices architecture (MSA) has become increasingly popular in recent years due to its numerous benefits. Many companies are migrating their monolithic applications to an MSA, where each service operates independently, often with its own persistence layer, and interacts with both internal and external services. These services may also participate in an event-driven architecture, emitting and consuming events. However, as the number of services increases, it becomes more challenging to trace request flows across services for debugging. The sheer volume of logs generated by these systems can make data collection and analysis to identify the root cause resource-intensive and costly. While distributed tracing tools can track service calls, they often fall short in capturing custom logs across multiple services. Traditional logging approaches are inefficient in this context due to the complex interactions between services and limitations in log level configurations. This paper proposes a framework that can be integrated into each service within an MSA to collect log data and create a detailed stack trace of calls across services during events such as errors. This approach would help System Reliability Engineers and developers quickly debug issues and identify root causes. The framework supports structured logging, correlates logs with specific events and services, and enables efficient real-time monitoring of the system.

Openalex Percentile: Top 77%
Software System Performance and Reliability
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.