SPL integrated with Microservices: a hybrid architectural proposal for multitenant SaaS

  • Manoel Marisergio Alves de Oliveira UFERSA
  • Rian Carlos Silva Lima UFERSA
  • Marcos Vinicius Lima da Costa UFERSA
  • Cláudio Silva Trindade Dunnas Tecnologia
  • Paulo Gabriel Gadelha Queiroz UFERSA


Designing systems to serve a large number of people, who have similar demands, but also have varied needs and generate a huge volume of data, requires a software architecture that allows constant evolution, is easy to maintain, and has the ability to scale smartly. The SPL technique with microservices architecture seems promising to meet these requirements, but this integration is not trivial. Thus, we conduct a SLR that identified 3 architectures that proposed the combination of these techniques. However, the architectures found were complex and reduced time-to-market, as they proposed the implementation of all resources through microservices. Thus, in order to reduce the complexity of development and, consequently, reduce the time to market, this work presents a proposal for the design of a hybrid SPL architecture, through the combination of large backend APIs and microservices. In addition, this research paper presents a case study that consisted of defining the architecture of a medical clinics SPL as a Multi-tenant Software as a Service. Finally, we compare the complexity of the architecture generated using our approach, with a microservice architecture constructed using other approach found in literature.
Palavras-chave: SaaS Multilocatário, Microsserviço, Linha de Produto de Software, Arquitetura de Software
OLIVEIRA, Manoel Marisergio Alves de; LIMA, Rian Carlos Silva; COSTA, Marcos Vinicius Lima da; TRINDADE, Cláudio Silva; QUEIROZ, Paulo Gabriel Gadelha. SPL integrated with Microservices: a hybrid architectural proposal for multitenant SaaS. In: SIMPÓSIO BRASILEIRO DE COMPONENTES, ARQUITETURAS E REUTILIZAÇÃO DE SOFTWARE (SBCARS), 17. , 2023, Campo Grande/MS. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2023 . p. 1–10.