From JavaScript to Elixir: Lessons from Reimplementing an Industrial Home Care System
Resumo
This paper presents an industrial case study evaluating the migration of a real-world healthcare SaaS application from a JavaScript stack to Elixir. We reimplemented 144 API endpoints and representative frontend screens while preserving the original business logic, and compared both implementations through end-to-end, stress, and microbenchmark experiments. The results show that Vue.js frontend achieved lower end-to-end latency, whereas the Elixir/Phoenix backend consistently outperformed the equivalent Node.js implementation in throughput and scalability, reaching up to 2,096× higher throughput. Overall, the results suggest that migrating the backend to Elixir can substantially improve scalability while reducing cloud infrastructure costs. These findings provide quantitative evidence to support technology migration decisions.
Palavras-chave:
Elixir, JavaScript, Benchmarking, Software Migration
Referências
Andy Georges, Dries Buytaert, and Lieven Eeckhout. 2007. Statistically rigorous java performance evaluation. In 22nd Annual ACM SIGPLAN Conference on Object-Oriented Programming Systems, Languages and Applications (OOPSLA). 57–76.
Grafana Labs. 2017. K6 Open Source. [link].
Brendan Gregg. 2020. Systems Performance: Enterprise and the Cloud (2 ed.). Addison-Wesley Professional.
Raj Jain. 1991. The Art of Computer Systems Performance Analysis. John Wiley & Sons.
Saša Jurić. 2024. Elixir in action (3 ed.). Manning.
Ben Marx, José Valim, and Bruce Tate. 2018. Adopting Elixir: From Concept to Production (1 ed.). The Pragmatic Bookshelf.
Chris McCord, Bruce Tate, and José Valim. 2019. Programming Phoenix 1.4: Productive |> Reliable |> Fast (1 ed.). Pragmatic Bookshelf.
Microsoft. 2020. Playwright Documentation. [link].
Mohammad Bagher. 2022. Tinybench Documentation. [link].
Bruce Tate and Sophie DeBenedetto. 2025. Programming Phoenix LiveView: Interactive Elixir Web Programming Without Writing Any JavaScript (1 ed.). Pragmatic Bookshelf.
Tobias Pfeiffer. 2016. Benchee Documentation. [link].
Grafana Labs. 2017. K6 Open Source. [link].
Brendan Gregg. 2020. Systems Performance: Enterprise and the Cloud (2 ed.). Addison-Wesley Professional.
Raj Jain. 1991. The Art of Computer Systems Performance Analysis. John Wiley & Sons.
Saša Jurić. 2024. Elixir in action (3 ed.). Manning.
Ben Marx, José Valim, and Bruce Tate. 2018. Adopting Elixir: From Concept to Production (1 ed.). The Pragmatic Bookshelf.
Chris McCord, Bruce Tate, and José Valim. 2019. Programming Phoenix 1.4: Productive |> Reliable |> Fast (1 ed.). Pragmatic Bookshelf.
Microsoft. 2020. Playwright Documentation. [link].
Mohammad Bagher. 2022. Tinybench Documentation. [link].
Bruce Tate and Sophie DeBenedetto. 2025. Programming Phoenix LiveView: Interactive Elixir Web Programming Without Writing Any JavaScript (1 ed.). Pragmatic Bookshelf.
Tobias Pfeiffer. 2016. Benchee Documentation. [link].
Publicado
08/09/2026
Como Citar
FERREIRA, Ricardo de Oliveira; VEGI, Lucas.
From JavaScript to Elixir: Lessons from Reimplementing an Industrial Home Care System. In: WORKSHOP EM ENGENHARIA DE SOFTWARE PARA PROGRAMAÇÃO FUNCIONAL (SE4FP), 2. , 2026, São Paulo/SP.
Anais [...].
Porto Alegre: Sociedade Brasileira de Computação,
2026
.
p. 1-4.
DOI: https://doi.org/10.5753/se4fp.2026.32631.