Adaptation of Distributed Microservice System Patterns for In-Process Interaction in Monolithic ApplicationsI. D. Butorin Citation: I. D. Butorin, "Adaptation of Distributed Microservice System Patterns for In-Process Interaction in Monolithic Applications", Universal Library of Multidisciplinary, Volume 03, Issue 01. Copyright: This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. AbstractThis article continues a series of studies on the thread-independent architecture of multithreaded C++ systems. It extends the previously proposed “Node Manager” model to support the architectural adaptation of microservice patterns within a single process. The paper examines an engineering problem typical of large monolithic applications, where direct inter-module calls, pervasive thread coupling, and the growing number of synchronization dependencies complicate system extensibility, failure localization, and reproducible debugging. The study aims to identify the elements of microservice discipline that retain practical value after the network boundary is removed and to interpret them through the mechanisms already introduced: “Node,” “Node Manager,” “Queue Segregation,” “Distributed Tracing,” and “Failure Handling.” The empirical basis of the study consists of research on microservice patterns, event-driven architectures, non-blocking synchronization, observability, and operational metrics of software systems. The methods employed include comparative architectural analysis, conceptual comparison of distributed and in-process execution, and engineering reconstruction of patterns through the “Node Manager” core. It is shown that mechanisms such as the event bus, broker-mediated interaction, service discovery, distributed tracing, and overload-control techniques take on their own form within a monolith and remain suitable for the system’s evolutionary growth without an early transition to network-level decomposition. Keywords: Thread Independence, “Node Manager,” Modular Monolith, Microservice Patterns, C++, Event-Driven Architecture, Distributed Tracing, Lock-Free Queue, Publish/Subscribe, Backpressure. Download |
|---|