Cognitive complexity points: a metric to evaluate the design of microservices-based applications

Fredy H. Vera-Rivera
{"title":"Cognitive complexity points: a metric to evaluate the design of microservices-based applications","authors":"Fredy H. Vera-Rivera","doi":"10.25100/iyc.v26i1.13145","DOIUrl":null,"url":null,"abstract":"The complexity of the software allows us to analyze how difficult to understand, implement and maintain the program can be. The metrics allow us to measure and estimate certain characteristics of the software to make decisions and corrective or preventive actions. The definition of the complexity of the microservices-based applications design is fundamental since it directly affects the performance of the application, development, testing, maintainability, storage (transactions and distributed queries), and the use and consumption of computational resources. In this paper, a cognitive complexity metric is proposed to evaluate the design and granularity of microservices-based applications, which define the required effort, or degree of difficulty to understand the microservices that make up the system. Typical cases were analyzed, which can appear in the design of microservices-based applications, the calculation of cognitive complexity was correct and consistent with the difficulty of understanding, maintaining, and developing a microservice system, therefore it is a viable option for analyzing complexity in microservices-based architecture.","PeriodicalId":159448,"journal":{"name":"INGENIERÍA Y COMPETITIVIDAD","volume":"2002 7","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-03-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"INGENIERÍA Y COMPETITIVIDAD","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.25100/iyc.v26i1.13145","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The complexity of the software allows us to analyze how difficult to understand, implement and maintain the program can be. The metrics allow us to measure and estimate certain characteristics of the software to make decisions and corrective or preventive actions. The definition of the complexity of the microservices-based applications design is fundamental since it directly affects the performance of the application, development, testing, maintainability, storage (transactions and distributed queries), and the use and consumption of computational resources. In this paper, a cognitive complexity metric is proposed to evaluate the design and granularity of microservices-based applications, which define the required effort, or degree of difficulty to understand the microservices that make up the system. Typical cases were analyzed, which can appear in the design of microservices-based applications, the calculation of cognitive complexity was correct and consistent with the difficulty of understanding, maintaining, and developing a microservice system, therefore it is a viable option for analyzing complexity in microservices-based architecture.
认知复杂点:评估基于微服务的应用程序设计的指标
通过软件的复杂性,我们可以分析程序在理解、实施和维护方面的难度。通过度量标准,我们可以测量和估计软件的某些特性,从而做出决策,采取纠正或预防措施。基于微服务的应用程序设计的复杂性定义非常重要,因为它直接影响到应用程序的性能、开发、测试、可维护性、存储(事务和分布式查询)以及计算资源的使用和消耗。本文提出了一种认知复杂度指标,用于评估基于微服务的应用程序的设计和粒度,该指标定义了理解组成系统的微服务所需的努力或困难程度。本文分析了基于微服务的应用程序设计中可能出现的典型案例,认知复杂度的计算是正确的,并且与理解、维护和开发微服务系统的难度相一致,因此它是分析基于微服务架构复杂度的可行方案。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信