Decision Support for Selecting Blockchain-Based Application Design Patterns With Layered Taxonomy and Quality Attributes
- 5 February 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 51 (4) , 1039-1066
Abstract
Background: Along with the rapid development and widespread adoption of blockchain technology, many common practices have been summarized into blockchain-based design patterns for application development. However, the numerous and scattered patterns may cause confusion among practitioners. Therefore, adopting appropriate patterns to meet various requirements has become a major challenge, as it requires deep development experience and blockchain technology knowledge. Objective: To address this problem, this paper proposes a decision-support solution to assist with the selection of design patterns during the blockchain-based application development, including a layered taxonomy of design patterns, mappings of quality attributes with the patterns, and a decision model incorporating the taxonomy and mappings. Method: We collected 72 distinct and state-of-the-art design patterns via a Systematic Literature Review (SLR) to establish a layered taxonomy, and 18 unified quality attribute metrics were proposed for blockchain-based pattern assessment and mapping establishment. Based on the pattern taxonomy and quality attribute mappings, we developed a decision model that can provide intuitive guidance for pattern selection. Results: The proposed solution was evaluated through a case study in a seafood supply chain, in which we examined how well the decision model could help identify design flaws and provide reasonable solutions. Additionally, interviews and a questionnaire-based survey were conducted to measure the completeness, correctness, and usefulness of the proposed decision model. The evaluation results indicate that the proposed decision-support solution provides developers with comprehensive guidance, facilitates targeted decision making, and supports intuitive understanding. Conclusions: Our decision-support solution can improve the development efficiency of blockchain-based applications, especially in addressing potential design flaws, achieving targeted quality attributes, and reducing development costs.Keywords
Funding Information
- National Natural Science Foundation of China (62302210)
- Key Research and Development Program of Jiangsu Province (BE2021002-2)
- Natural Science Foundation of Jiangsu Province (BK20241195)
- Innovation Projects and Overseas Open Projects of State Key Laboratory for Novel Software Technology (ZZKT2024A18, ZZKT2024B07, KFKT2023A09, KFKT2023A10, KFKT2024A02, KFKT2024A13, KFKT2024A14)
This publication has 74 references indexed in Scilit:
- An Ontology for Software Patterns: Application to Blockchain-Based Software Development2023
- A Decision Model for Selecting Patterns and Strategies to Decompose Applications into Microservices2021
- Foundational Oracle Patterns: Connecting Blockchain to the Off-Chain World2020
- Silver Bullet for All Trust Issues? Blockchain-Based Trust Patterns for Collaborative Business Processes2020
- On Refining Design Patterns for Smart Contracts2020
- Opportunities, Challenges, and Future Extensions for Smart-Contract Design Patterns2019
- An Empirical Analysis of Smart Contracts: Platforms, Applications, and Design Patterns2017
- On or Off the Blockchain? Insights on Off-Chaining Computation and Data2017
- Untrusted Business Process Monitoring and Execution Using Blockchain2016
- Internet, Phone, Mail, and Mixed‐Mode Surveys2014