Return to search

[en] A LIBRARY FOR DETERMINISTIC TESTS IN DISTRIBUTED SYSTEMS WITH ASYNCHRONOUS COMMUNICATION / [pt] UMA BIBLIOTECA PARA TESTES DETERMINÍSTICOS EM SISTEMAS DISTRIBUÍDOS COM COMUNICAÇÃO ASSÍNCRONA

[pt] Observamos que cada vez mais desenvolvedores estão adotando a arquitetura de microsserviços para o desenvolvimento de sistemas distribuídos.
Usualmente nesse tipo de arquitetura há um serviço de fila de mensagens que
fica responsável em fazer a comunicação assíncrona entre os microsserviços, um
serviço bastante utilizado para isso é o Kafka. Nesse ambiente assíncrono, os
testes de integração de um determinado serviço ficam complexos pela dificuldade de criar cenários reprodutíveis. No nosso trabalho propomos e avaliamos
o uso de uma biblioteca em Go que ajuda no desenvolvimento de testes de
integração para microsserviços que utilizam Docker e Kafka, garantindo a ordenação de eventos nos cenários de teste desenvolvidos. / [en] Nowadays more and more developers are adopting the microservices architecture for the development of distributed systems. Usually in this type
of architecture there is a message queue service that is responsible for asynchronous communication between microservices; a service that is widely used
for this is the Apache Kafka. In this asynchronous environment, integration
tests for a given service become complex due to the difficulty of creating reproducible scenarios. In our work, we propose and evaluate the use of a library we
developed in Go for the construction of integration tests for microservices that
use Docker and Kafka, guaranteeing in the ordering of events as described in
the test script.

Identiferoai:union.ndltd.org:puc-rio.br/oai:MAXWELL.puc-rio.br:62872
Date15 June 2023
CreatorsPEDRO FELIPE SANTOS MAGALHAES
ContributorsMARKUS ENDLER
PublisherMAXWELL
Source SetsPUC Rio
LanguagePortuguese
Detected LanguagePortuguese
TypeTEXTO

Page generated in 0.0027 seconds