A Comparative Testing on Performance of Blockchain and Relational Database: Foundation for Applying Smart Technology into Current Business Systems

被引:29
作者
Chen, Si [1 ]
Zhang, Jinyu [1 ]
Shi, Rui [1 ]
Yan, Jiaqi [1 ]
Ke, Qing [1 ]
机构
[1] Nanjing Univ, Nanjing 210023, Jiangsu, Peoples R China
来源
DISTRIBUTED, AMBIENT AND PERVASIVE INTERACTIONS: UNDERSTANDING HUMANS, DAPI 2018, PT I | 2018年 / 10921卷
关键词
Blockchain; Relational database; Performance testing; Ethereum; MySQL;
D O I
10.1007/978-3-319-91125-0_2
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Blockchain technologies have been developing very fast recently. Ethereum, as the second generation of blockchain, can support smart contracts with various functions. Blockchain, combined with IoT technologies like RFID, can bring more security into IoT systems. It has been noted that just storing hash values, addresses and transaction records cannot meet the needs of various blockchain applications. Thus, how to test capacity of reading/writing data for blockchain and further make comparisons with the traditional relational databases needs to be paid attention. Although there has been some research on testing and analyzing the performance of blockchains, few studies focus on analyzing blockchains and relational databases. This test was conducted to analyze the capacities of reading/writing data and processing/recording transactions of blockchains and relational databases. Ethereum and MySQL are chosen as the representatives of blockchain and relational databases. This test has three aims: (1) getting the detailed data of the blockchain's capacity of processing transactions; (2) identifying the bottleneck or potential bottleneck in blockchain systems; (3) putting forward a testing method and testing indexes which are reasonable, practical and compatible with the current development situations of blockchain systems. With the results data, it was concluded that the maximum data volume in single transaction on blockchain network was about 1/10 of MySQL. As for the time spent in processing single transaction, the blockchain network was 80-2000 times as much as MySQL. Thus, it's recommended to store little-size data into blockchain. For more detailed testing, these indexes and testing method can be referenced.
引用
收藏
页码:21 / 34
页数:14
相关论文
共 22 条
[1]  
Aniello L., 2017, EUR DEP COMP C
[2]  
[Anonymous], 2016, PROC ACM SIGSAC C CO
[3]   MedRec: Using Blockchain for Medical Data Access and Permission Management [J].
Azaria, Asaph ;
Ekblaw, Ariel ;
Vieira, Thiago ;
Lippman, Andrew .
PROCEEDINGS 2016 2ND INTERNATIONAL CONFERENCE ON OPEN AND BIG DATA - OBD 2016, 2016, :25-30
[4]   A low-complexity QoS aware resource allocation algorithm for multi pair device-to-device (D2D) communications [J].
Bagheri, Hamidreza ;
Bonomi, Fernando Alberto Miranda ;
Katz, Marcos .
TRANSACTIONS ON EMERGING TELECOMMUNICATIONS TECHNOLOGIES, 2017, 28 (10)
[5]  
Buterin V., 2014, CISC VIS NETW IND GL, V3, P2, DOI [10.5663/aps.v1i1.10138, DOI 10.5663/APS.V1I1.10138]
[6]   An AGENDA for testing relational database applications [J].
Chays, D ;
Deng, YT ;
Frankl, PG ;
Dan, S ;
Vokoloo, FI ;
Weyuker, EJ .
SOFTWARE TESTING VERIFICATION & RELIABILITY, 2004, 14 (01) :17-44
[7]   On Scaling Decentralized Blockchains (A Position Paper) [J].
Croman, Kyle ;
Decker, Christian ;
Eyal, Ittay ;
Gencer, Adem Efe ;
Juels, Ari ;
Kosba, Ahmed ;
Miller, Andrew ;
Saxena, Prateek ;
Shi, Elaine ;
Sirer, Emin Gun ;
Song, Dawn ;
Wattenhofer, Roger .
FINANCIAL CRYPTOGRAPHY AND DATA SECURITY, FC 2016, 2016, 9604 :106-125
[8]  
Dinh T. T. A, 2017, BLOCKBENCH FRAMEWORK
[9]  
Feng Tian, 2016, 2016 13th International Conference on Service Systems and Service Management (ICSSSM), P1, DOI 10.1109/ICSSSM.2016.7538424
[10]  
Gray M., 2015, ETHEREUM BLOCKCHAIN