Conceitos essenciais
MSTG is a modular and scalable tool that allows for the simulation of microservices architectures, including both the application and network layers, enabling the evaluation of microservices-based systems and the integration of telemetry solutions.
Resumo
The paper introduces the MicroServices Topology Generator (MSTG), a tool that allows for the simulation of microservices architectures, including both the application and network layers. MSTG is designed to be a flexible and scalable tool that can be used for various purposes, such as validating the correctness of an architecture, conducting testing and benchmarking of a topology, and assisting in the evaluation and integration of other technologies, such as telemetry or monitoring tools, into a microservices architecture.
The key features of MSTG include:
- Generation of microservices topologies based on a YAML configuration file, which can be deployed on either Docker Compose or Kubernetes.
- Inclusion of routers in the topology, enabling the simulation of network-level characteristics and the use of lower-layer monitoring tools, such as IOAM for network telemetry.
- Integration of telemetry solutions, such as OpenTelemetry and Jaeger, for distributed tracing and visualization.
The paper evaluates the performance of MSTG, demonstrating its flexibility and scalability. It also presents two use cases: replicating an existing OpenTelemetry demo architecture and showcasing the use of MSTG for intelligent microservices selection.
Estatísticas
Increasing the packet size of microservices leads to a linear increase in network utilization (RX and TX).
Increasing the link delay between microservices and routers results in a linear increase in round-trip time (RTT).
Increasing the packet loss rate between microservices and routers leads to a decrease in the maximum request rate.
There is a linear relationship between the number of entities (services or routers) in the topology and the time needed to start and stop the architecture.
Citações
"MSTG encompasses existing telemetry solutions, such as OpenTelemetry, Jaeger, and In-situ OAM (IOAM), which are the basis for developing advanced telemetry tools for microservices infrastructures."
"MSTG offers the possibility to simulate both the networking and application layers, which are configurable by the end-users in a configuration file used as input."