Efficiency Analysis of Microservices Based on Queueing Models
Abel C. H. Chen, Michael C. H. Hsiang, Meiying Wang · 2023
This study proposes an efficiency analysis framework based on queuing models to analyze the efficiency difference of breaking down traditional large services into n microservices. For generalization, this study considers different service time distributions (e.g. exponential distribution of service time and fixed service time) and explores the system efficiency in the worst-case and best-case scenarios through queuing models (i.e. M/M/1 queuing model and M/D/1 queuing model). In each experiment, it was shown that the total time required for the original large service was higher than that required for breaking it down into multiple microservices, so breaking it down into multiple microservices can improve system efficiency. Therefore, this study's findings can serve as a reference guide for future development of microservice architecture.