FUNCTIONAL PROGRAMMING IN SCALABLE MICROSERVICE ARCHITECTURES

Movladi I. Isaev, Muhammed K. Tlastankulov, Rayana A.-M. Aibueva, Federal State Budgetary Educational Institution of Higher Education “GGNTU named after Academician Millionshchikov”, Grozny, Russian Federation · EKONOMIKA I UPRAVLENIE PROBLEMY RESHENIYA · 2024

The article discusses the use of functional programming (FP) for developing scalable microservice architectures. The main attention is paid to the key principles of FP: pure functions, data immutability, and higher-order functions. Their advantages for building fault-tolerant and predictable microservice systems are analyzed. The architecture of microservices using asynchronous data processing and reactive streams is described. Performance testing has shown an increase in throughput and a decrease in response time. Practical approaches to working with databases and asynchronous interaction between services are considered. The conclusions emphasize that functional approaches increase stability, improve testability, and facilitate parallel processing of requests, which makes them in demand in building modern distributed systems.

Read the paper · More papers on PaperTik