Next Article in Journal
Reducing Videoconferencing Fatigue through Facial Emotion Recognition
Next Article in Special Issue
From Bitcoin to Central Bank Digital Currencies: Making Sense of the Digital Money Revolution
Previous Article in Journal
Development of Knowledge Graph for Data Management Related to Flooding Disasters Using Open Data
Previous Article in Special Issue
Decentralizing Supply Chain Anti-Counterfeiting and Traceability Systems Using Blockchain Technology
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Towards Practical Applications in Modeling Blockchain System

1
R&D Department, The Bonch-Bruevich Saint-Petersburg State University of Telecommunications, 193232 Saint Petersburg, Russia
2
Infocommunication Systems Department, The Bonch-Bruevich Saint-Petersburg State University of Telecommunications, 193232 Saint Petersburg, Russia
*
Author to whom correspondence should be addressed.
Future Internet 2021, 13(5), 125; https://0-doi-org.brum.beds.ac.uk/10.3390/fi13050125
Submission received: 22 April 2021 / Revised: 1 May 2021 / Accepted: 7 May 2021 / Published: 12 May 2021
(This article belongs to the Special Issue The Next Blockchain Wave Current Challenges and Future Prospects)

Abstract

:
Like multiservice networks, blockchain technology is currently experiencing significant development because of its decentralization and ability to organize secure, seamless, reliable data exchange and storage. Due to the significant demand for the technology, there is a need to analyze the impact of these technology processes on network characteristics to predict traffic behavior and ensure required quality indicators, as well as on the stability of public communication network elements when blockchain technology operates. Conducting a full-scale experiment is a time-consuming task that cannot always be accomplished, so in this paper, the authors propose considering approaches to modeling these systems and, as an example, propose to use a simulation system to assess the performance of the network and its elements.

1. Introduction

Communication networks are now the basis for systems aimed at supporting the digitalization of the world community. Hence, it is necessary not only to ensure their sustainability but also to plan for their future development. The criteria of security, confidentiality, reliability, latency and data transmission for such systems are expected to be key and should be given special attention by the research community.
The promising blockchain technology can be used to solve the aforementioned problems by creating new forms of distributed architectures while being used to define the entire technological system behind the exchange of digital assets between participants in the same network without intermediaries [1].
Blockchain is a distributed database that consists of an updatable list of structured data and in which data storage and processing devices are distributed in a decentralized manner [2,3]. The main advantages of blockchain technology can be seen as the system’s reliability, as any attempt to make unauthorized changes will result in the transaction being rejected due to inconsistency with previous copies and verification of added data by independent participants.
Today, researchers, developers suggest that blockchain technology, though new and controversial, could transform some of today’s services. Blockchain’s capabilities make it attractive to companies in various industries, with the financial, telecom, transportation, industrial and agribusiness sectors being prime candidates for blockchain adoption. A report by the US analysis company Transparency Market Research [4] indicates that the global blockchain market will be worth USD 20 billion by 2024, and the industry will grow at an annual rate of about 59%. Grand View Research conducted a similar study [5]. Comparison of perspectives proposed by companies is presented in Figure 1. Despite the significant difference in the final figures, many researchers believe that the market will grow and evolve rapidly, highlighting the integration needs of existing systems. At the beginning of 2021, we can conclude that the forecasting trend for the blockchain market is correct.
Blockchain created new forms of interaction, where network participants use a large network of untrusted participants for transactional data exchange without relying on a central hub [1]. However, it is important to note that this technology could have a significant impact on telecommunications.
Blockchain technology is a specialized information and communication technology with some specific features. Nodes, transactions and consensus algorithms are the key objects of the system that define the new capabilities. Depending on the algorithms and protocols for communication and data dissemination, different network effects may emerge.
The technology involves many nodes on the network to deal with the additional volume of service traffic and constant data exchange. This makes it necessary to consider its impact on the network and determine the current network infrastructure design for the new requirements, as the actual deployment phase may be adversely affected [3,6,7,8]. The current lack of unified tools for evaluating blockchain technology performance, but the number of blockchain applications in use has already reached a high level of quantification [7].
The work of blockchain technology can be divided into several stages:
  • Network discovery. The first time a node is connected to the network, it is booted and connected to the initial boot node to get a list of neighbor’s nodes, synchronize and get the current version of the blockchain, subsequently disconnected;
  • Transaction creation and verification. All nodes in the network can initiate transactions to transfer digital assets to available peers in the network. The creation of a new transaction implies that certain conditions are fulfilled by the exchange participants, so the transaction specifies the amount and the addressee and may additionally specify the terms of the transaction. Once the transaction has been created, the sender signs it with their electronic key and sends it to the network. The transaction will be rejected if it is incorrectly generated, invalid or does not contain all the information required for execution, or if the user does not have sufficient funds to complete the transaction;
  • Mining. When a new transaction is received, the node initializes its addition to the block. The block is generated based on information about the past block received and the information collected. The miners try to find a solution; the block is checked, added to the registry and sent to the network to other nodes. If a solution is found by the second node, it is discarded to avoid branching;
  • Checking the block for correctness. Checking the block before adding it to the register implies that the previous block exists, that the data structure is intact, that the sender has sufficient funds, that the signature is correct, that the syntax is correct, that the inputs and outputs are within acceptable values, that the transaction size is not higher than the maximum, that the transaction has not yet been processed. If confirmed, the chain is updated in the general ledger, and the transaction and user status are validated.
The development and popularization of this new technology introduce significant changes to network communication between devices. As mentioned in [8], blockchain generates additional traffic to update registries on all nodes involved, and an increased amount of service traffic appears when data are encrypted and markedly reduces the proportion of useful traffic. Preliminary calculations and modeling can help prepare the network for the required number of devices and calculate key parameters and interoperability opportunities.
Our main contributions can be summarized as follows:
  • We aim to create a simulation model of a communication network with a blockchain system awaiting the results of network delay simulation;
  • We are dedicated to providing analysis solutions for simulation and analytical modeling;
  • We include a comparison of simulation results with analytical solution results.
The rest of the paper is structured as follows: Section 2 presents similar and previous works. In Section 3, we summarize the main features of our proposal for modeling blockchain systems in a communication network and present the results of the modeling, and the results obtained are analyzed in Section 4. Finally, conclusions and future work are given in Section 5.

2. Related Works

Today, simulation and analytical modeling are standard tools for evaluating the behavior and performance of most blockchain-based solutions [9].
Modeling is used when conducting experiments with real objects/systems is inconvenient, impossible or too costly. The main difference between simulation and other methods of studying complex systems is the ability to optimize a system before it is implemented. Since many applications implement blockchain, which is difficult to deploy on test networks, modeling and simulation of systems is an important aspect for performance evaluation.
Models are traditionally divided into analytical and simulation models. An analytical model is based on a theory or hypothesis, describes a particular aspect of the system using mathematical expressions, and produces the final results of the study in formal relationships suitable for quantitative and qualitative analysis. This type of model is usually used to describe the fundamental properties of objects.
To date, the modeling of network processes in the field of blockchain solutions has been underdeveloped. However, researchers are already trying to identify mathematical models to describe blockchain technology processes and their dependencies. Table 1 compares the most significant analytical modeling solutions.
Simulation models are created using standard software using standard computer systems. An indisputable advantage of simulation modeling is the possibility of obtaining numerical solutions for those models that cannot be described by finite analytical expressions [8]. Of course, not all tasks can be solved using simulation modeling, for example, tasks that require too much computation due to limited resources of computing systems and finite time of operations.
Effective traffic forecasting models and methods are being developed to ensure the quality of services provided and the stability of communication network elements when using distributed registry technology.
Currently, there are several blockchain technology simulation solutions on the communication network that allow various tests to be carried out before making a final decision on implementation. Table 2 provides a comparison of the most relevant simulation solutions.

3. Modeling Blockchain Systems on a Communication Network

As modern networks provide a wide range of services, the transmission of each type of traffic requires some conditions to a number of service quality parameters, such as delay, loss, jitter and others. In this regard, there is a need for system modeling and parameter estimation, as the existing traffic models and traffic characteristics change as new applications are introduced. In the following, we propose considering the modeling of different system parts when transmitting user traffic.
Currently, user session traffic is referred to Poisson models [42], but in heterogeneous traffic, it is possible to observe self-similarity, estimated by the Hurst coefficient. The prevalence of non-Poisson traffic necessitates using G/G/v, G/D/v models to describe analytical methods [42,43].
It is worth noting, however, that the proof-of-work consensus mechanism involves nodes performing operations to solve a computational problem with extremely low probability. Thus, the nodes essentially perform Bernoulli tests at an enormous rate, each with an extremely low probability of success, meaning that successes roughly occur as a Poisson process [17].
In the proposed system, to describe the nature of third-party application data flows at the access layer, consider models with time intervals between packet requests formed according to the simplest distribution law commonly used in data communication network analysis and design (MNET). The time interval between requests of blockchain applications, according to the solutions presented in Table 1, we refer to the Markovian (MBC). According to the properties of such flows at the router, the total flow (MNET+BC) converges to a simple flow with an intensity equal to the sum of the intensities of the original flows [44].
In this case, the law of service time distribution of such traffic is described by dependencies with the predominance of self-similarity, which occurs due to combining multiple isolated sources. To model the self-similar flow, various methods called the ONOF method are used, involving forming the flow of interest by combining flows from multiple sources [42]. Thus, due to the properties of pulsating traffic on the aggregation level equipment, the distribution of traffic service time obeys a law with “heavy tails” (Pareto, Weibull and lognormal distributions, etc.). Let us consider the Pareto distribution for traffic service time as the best fit in terms of characteristics. Hence, a simplified system model can be considered as MNET+BC/Pa/v and MNET+BC/Pa/1 when considering and evaluating the performance of each device.
The Pareto distribution function is defined as follows:
F ( t ) = 1 ( M t ) a , f o r   t M ,   t > 0 ,   M > 0
where:
  • M is the scale parameter;
  • a is the shape parameter.
Checking the aggregated original temporal sequence for self-similarity is an important task in the modeling of LSMS data. As defined in [45], self-similarity is preserved when the original temporal sequence is aggregated. In this case, the process is self-similar if:
lim n R n ( k ) = σ 2 2 ( ( k + 1 ) 2 H 2 k 2 H + ( k 1 ) 2 H )
where:
  • Rn (k) is the correlation function for the aggregated time series;
  • H is the Hurst parameter;
  • k is the time shift;
  • σ2 is the sampling variance of the sequence.
However, if we consider a situation where the distribution law of service time for such traffic will be described by dependencies more complex to initialize, then it is worth moving to a model with a general distribution type—M/G/1. Then, according to [46], the average packet residence time in the system:
T = ρ + ρ 2 1 + C B 2 2 ( 1 ρ )
where:
  • ρ is the system utilization factor;
  • CB2 is the normalized variance of the service time.
Average waiting time in the queue:
W = λ φ 2 2 ( 1 ρ )
where:
  • λ is the average rate of receipt of an application
  • 𝜑2 is the second-order momentum of a random variable.
Most existing applications adhere to the nature of unicast, whereby traffic is directed from a single source to a single destination. Broadcasting is used to send a single stream of control commands and other service information to all subscribers on the network. However, due to the nature of the blockchain algorithm, there is a significant increase in multicast traffic when updating data in the registry, which duplicates information for different blockchain nodes.
When transmitted over a network, traffic is affected by network devices, processing policies in these network devices, quality of service mechanisms, congestion at nodes, operation of transport layer protocols, dynamic routing, load balancing, etc. Thus, flow characteristics can be significantly modified by network influences [47].
In data transmission networks, there are many queues to transmit, which interact with each other, merging with parts of other streams occurs, which affects and complicates the nature of the processes [47,48]. The result of aggregating random processes will also be a random process with modified characteristics.
In this regard, the interaction model—G/G/1 and G/G/n—can be arranged at the edge router. However, one way to estimate the probability-time characteristics of telecommunication nodes of an infocommunication network as a WAN under weak correlation is to solve the Lindley integral equations. Let us pay special attention to the final formula obtained in the derivation of the equation [46]. The expression of the integral waiting time function for any values of the argument will be:
W ( y ) = y W ( y u ) c ( u ) d u
Thus, the proposed model as a mass service network consists of coupled models characterized at the access level by M/M/1, at the primary hub level by M/G/1, and at the edge router level by G/G/1. Due to the complexity of self-similar processes, simulation methods are usually applied to calculate their analytical models [49].
The time for adding a transaction to the block and confirming it in general terms:
t B L = max i = k t p r o c   i + m t d e l a y   m + t M P + t m + t v e r  
where:
  • k—the number of nodes initiating creating the transactions needed to form the block (depends on the number of transactions in the Memory Pool), varies with the number of connected active nodes;
  • tproc i—the time taken for node i to send a transaction to the network, depends on the network card and network configuration;
  • m—the number of network devices the packet passes through during transmission, depends on network configuration;
  • tdelay m—the network latency introduced by devices when transmitting a packet—a problem that can create greater potential for forks and vulnerability to hostile attacks;
  • tMP—dwell time of unconfirmed transactions in Memory Pool before being added to the block;
  • tm—time to check the block and solve the computational problem by the miners, depends on the consensus algorithm;
  • tver—time taken to check the block and add it to the common chain (approximately a few milliseconds), depends on network configuration.
For the model presented, the transaction confirmation time will be represented as follows:
t B L = max i = k t p r o c   i + m [ ρ m + ρ m 2 1 + C B 2 m 2 ( 1 ρ m ) ] + t M P + t m + t v e r
Analytical modeling of a blockchain network faces many challenges. For example, the variability in the number of connections between nodes affects the data distribution algorithm and introduces variability in the transmission rates of data arriving at the nodes [16].
To simulate the network delay (tdelay m), it is proposed to use the system the simulation system AnyLogic is proposed.
It is necessary to clarify some restrictions for the presented simulation model: the model aims to check the network characteristics when distributing blocks and does not include assessing the parameters of the throughput of transactions and the time for processing the block by miners. However, the scalability of the blockchain system depends on the underlying consensus, network synchronization, and architecture [50].
The system supports various approaches to simulation models, allows different aspects of the system to be modeled at different levels of detail, and has a graphical interface [49].
For the AnyLogic simulation model network presented by the authors, a simplified scaling of the system is assumed depending on the networks and parameters of interest. In this case, no separate virtual machines were used. In the current version, the characteristics were checked for devices between the access network and the border router, traffic from 100 blockchain devices belonging to the public network and using the characteristics of the PoW consensus algorithm was simulated on the access network, with the following indicators—the intensity of creating transactions according to the gamma distribution with variable parameters.
Figure 2 shows the AnyLogic model of a data network when blockchain technology is included.
Figure 3 shows the simulation of delay and queuing at the access node and aggregation node. Figure 4 shows the dependence of the proportion of packets at the end-to-end network delay of the system. Figure 4 shows the analytical and simulation model results for assessing network delay (tdelay m). It can be assumed that the results obtained are correct with acceptable measurement accuracy.

4. Comparative Analysis of the Results

Figure 4 shows that the values obtained by simulation modeling take into account the peculiarities of the data in packet networks, but globally do not contradict the analytical conclusion obtained by equations 7. Network nodes introduce latency, but the main latency in confirming a transaction will depend on the time spent in the memory pool and on the computational task being performed by the miners. It is worth noting that network latency plays a key role in propagating a transaction and block through the network, so a significant latency will affect the queuing in the memory pool, which will affect the time to add a transaction to the block, and the confirmation of the mining task since a node should stop working on its blocks as soon as a new block is announced to save computational resources, but nodes may receive newly created blocks too late due to propagation delay and continue working on the already obsolete block. Therefore, in terms of efficient transaction processing and overall system performance, the network parameters of the nodes should be of key importance. The experiment also showed that the network’s performance depends on the intensity of requests, and the node intensity and buffer size values can be varied for the correct operation of the blockchain technology presented.
It should be noted that modeling blockchain technology performance with AnyLogic is possible and convenient to analyze when various parameters change. However, for more accurate results and a more complete system response, more research into blockchain simulation is needed. The analysis of the models has shown the applicability of selected simulation systems for assessing the impact of blockchain technology on data networks.

5. Conclusions

Today, the volume of traffic generated by blockchain devices is less than that of services, such as video and data. However, because of the growing popularity of the technology, the potential number of blockchain devices may become so large that their traffic is comparable to that of traditional services. If blockchain technology traffic is co-served with delay- and loss-critical traffic, it can significantly impact the quality of service of traditional services traffic. In this paper, an overview of analytical and simulation modeling solutions focusing on mass service systems has been conducted and presented. Simulation comparison results are presented.
There are plans to extend the system indicators to obtain more accurate results with the AnyLogic system and to propose a methodology for calculating the network infrastructure based on the traffic characteristics and data obtained. A more detailed study of the dependencies associated with consensus, cryptographic primitives, is planned by the authors in future works.

Author Contributions

Conceptualization, A.V.; formal analysis, A.V.; funding acquisition, V.E.; investigation, A.S.; methodology, A.V. and V.E.; software, A.V.; supervision, A.V.; validation, V.E.; writing—original draft, A.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by RFBR, project number 19-37-90050/19 (Moscow, Russia).

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Xu, X.; Pautasso, C.; Zhu, L.; Gramoli, V.; Ponomarev, A.; Tran, A.B.; Chen, S. The blockchain as a software connector. In Proceedings of the 2016 13th Working IEEE/IFIP Conference on Software Architecture, Venice, Italy, 5–8 April 2016; pp. 182–191. [Google Scholar]
  2. Palmara, P. Tracing and Tracking with the Blockchain. Master’s Thesis, Politecnico di Milano, Milan, Italy, 2018. [Google Scholar]
  3. Elagin, V.; Spirkina, A.; Levakov, A.; Belozertsev, I. Blockchain Behavioral Traffic Model as a Tool to Influence Service IT Security. Future Internet 2020, 12, 68. [Google Scholar] [CrossRef]
  4. Blockchain Technology Market (Type-Public Blockchain, Private Blockchain, and Consortium Blockchain; Application-Financial Services and Non-financial Sector)-Global Industry Analysis, Size, Share, Growth, Trends, and Forecast 2016–2024. Available online: https://www.transparencymarketresearch.com/blockchain-technology-market.html (accessed on 9 May 2021).
  5. C-RAN Market Size, Share & Trends Analysis Report by Architecture Type (Centralized-RAN, Virtual/Cloud-RAN), by Component, By Network Type, By Deployment Model, And Segment Forecasts, 2020–2027. Available online: https://www.grandviewresearch.com/industry-analysis/cloud-ran-market (accessed on 7 May 2021).
  6. Vladyko, A.G.; Spirkina, A.V.; Elagin, V.S.; Belozertsev, I.A.; Aptrieva, E.A. Blockchain Models to Improve the Service Security on Board Communications. In Proceedings of the 2020 Systems of Signals Generating and Processing in the Field of on Board Communications, Moscow, Russia, 19–20 March 2020; pp. 1–5. [Google Scholar]
  7. Lao, L.; Li, Z.; Hou, S.; Xiao, B.; Guo, S.; Yang, Y. A survey of IoT applications in blockchain systems: Architecture, consensus, and traffic modeling. ACM Comput. Surv. 2020, 53, 1–32. [Google Scholar] [CrossRef] [Green Version]
  8. Spirkina, A.V. Scientific aspects of structural and parametric simulation of blockchain systems. Proc. Telecommun. Univ. 2021, 7, 45–59. [Google Scholar]
  9. Smetanin, S.; Ometov, A.; Komarov, M.; Masek, P.; Koucheryavy, Y. Blockchain Evaluation Approaches: State-of-the-Art and Future Perspective. Sensors 2020, 20, 3358. [Google Scholar] [CrossRef]
  10. Ling, X.; Le, Y.; Wang, J.; Ding, Z.; Gao, X. Practical Modeling and Analysis of Blockchain Radio Access Network. IEEE Trans. Commun. 2020, 1. [Google Scholar] [CrossRef]
  11. Memon, R.A.; Li, J.; Ahmed, J.; Khan, A.; Nazir, M.I.; Mangrio, M.I. Modeling of blockchain based systems using queuing theory simulation. In Proceedings of the 2018 15th International Computer Conference on Wavelet Active Media Technology and Information Processing, Chengdu, China, 14–16 December 2018; pp. 107–111. [Google Scholar]
  12. Memon, R.A.; Li, J.P.; Ahmed, J. Simulation model for blockchain systems using queuing theory. Electronics 2019, 2, 234. [Google Scholar] [CrossRef] [Green Version]
  13. Kawase, Y.; Kasahara, S. Transaction-Confirmation Time for Bitcoin: A Queueing Analytical Approach to Blockchain Mechanism; Springer: Cham, Switzerland, 2017; pp. 75–88. [Google Scholar]
  14. Mišić, J.; Mišić, V.B.; Chang, X.; Motlagh, S.G.; Ali, M.Z. Modeling of bitcoin’s blockchain delivery network. IEEE Trans. Netw. Sci. Eng. 2019, 3, 1368–1381. [Google Scholar]
  15. Papadis, N.; Borst, S.; Walid, A.; Grissa, M.; Tassiulas, L. Stochastic models and wide-area network measurements for blockchain design and analysis. In Proceedings of the IEEE INFOCOM 2018-IEEE Conference on Computer Communications, Honolulu, HI, USA, 16–19 April 2018; pp. 2546–2554. [Google Scholar]
  16. Liu, Z.; Luong, N.C.; Wang, W.; Niyato, D.; Wang, P.; Liang, Y.C.; Kim, D.I. A survey on applications of game theory in blockchain. arXiv 2019, arXiv:1902.10865. [Google Scholar]
  17. Frolkova, M.; Mandjes, M.A. Bitcoin-inspired infinite-server model with a random fluid limit. Stoch. Models 2019, 1, 1–32. [Google Scholar] [CrossRef] [Green Version]
  18. Li, Q.L.; Ma, J.Y.; Chang, Y.X. Blockchain Queue Theory; Springer: Cham, Switzerland, 2018; pp. 25–40. [Google Scholar]
  19. Bitcoin Testnet Explorer. Available online: https://blockstream.info/testnet/ (accessed on 10 January 2021).
  20. BlockCypher. Available online: https://www.blockcypher.com/ (accessed on 13 January 2021).
  21. Bitcoin Testnet Faucet. Available online: https://testnet-faucet.mempool.co/ (accessed on 15 January 2021).
  22. Rinkeby Network. Available online: https://www.rinkeby.io/#stats (accessed on 25 January 2021).
  23. GitHub. Ganache-cli. 2021. Available online: https://github.com/trufflesuite/ganache-cli (accessed on 3 February 2021).
  24. GitHub. Eth-tester. 2021. Available online: https://github.com/ethereum/eth-tester (accessed on 3 February 2021).
  25. GitHub. Truffle. 2021. Available online: https://github.com/trufflesuite/truffle (accessed on 5 February 2021).
  26. GitHub. Remix-ide. 2021. Available online: https://github.com/ethereum/remix-ide (accessed on 11 February 2021).
  27. Microsoft. Available online: https://marketplace.visualstudio.com/items?itemName=IBMBlockchain.ibm-blockchain-platform (accessed on 12 February 2021).
  28. Remme. Available online: https://remme.io/ (accessed on 15 February 2021).
  29. Cryptospaniards. Available online: https://cryptospaniards.com/ (accessed on 25 February 2021).
  30. Blockchain Demo. Available online: https://blockchaindemo.io/ (accessed on 5 March 2021).
  31. GitHub. Vibes. 2020. Available online: https://github.com/i13-msrg/vibes (accessed on 12 March 2021).
  32. GitHub. Simblock. 2021. Available online: https://github.com/dsg-titech/simblock (accessed on 15 March 2021).
  33. GitHub. BlockSim. 2020. Available online: https://github.com/maher243/BlockSim (accessed on 15 March 2021).
  34. GitHub. Blocklite. 2019. Available online: https://github.com/hpdic/blocklite (accessed on 15 March 2021).
  35. Bitcoin Simulator. Available online: https://www.bitcoinsimulator.tk/blockchain?chain=public (accessed on 16 March 2021).
  36. Blockbench. Available online: https://blockbench.net/ (accessed on 16 March 2021).
  37. Hyperledger. Available online: https://github.com/hyperledger/caliper (accessed on 28 April 2021).
  38. The AnyLogic Company. Available online: https://www.anylogic.ru/ (accessed on 17 March 2021).
  39. The MathWorks. Available online: https://www.mathworks.com/products/matlab.html (accessed on 17 March 2021).
  40. Nsnam. Available online: https://www.nsnam.org/ (accessed on 17 March 2021).
  41. Minuteman Software. Available online: http://www.minutemansoftware.com/ (accessed on 17 March 2021).
  42. Sheluhin, O. Multifractals, Infocommunicational Application; Hot Line-Telecom: Moscow, Russia, 2014; p. 579. [Google Scholar]
  43. Livshits, B.S.; Pshenichnikov, A.P.; Kharkevich, A.D. Teoriya Teletrafika; Svyaz’: Moscow, Russia, 1979; p. 224. [Google Scholar]
  44. Koucheryavy, A.; Lokhmotko, V.; Revelova, Z.; Paramonov, A. Application of network planning tools for information content allocation. In Proceedings of the International Teletraffic Congress-18, International Telecommunication Union and International Teletraffic Congress Workshop, Berlin, Germany, 31 August–5 September 2003; pp. 2.4/1–2.4/12. [Google Scholar]
  45. Nazarov, A.; Sychev, K. Models and research methods the functioning of switching nodes ngn networks with arbitrary distributions of income and service applications of different classes of quality. T-Comm Telecommun. Transp. 2012, 15, 4–10. [Google Scholar]
  46. Klejnrock, L. Vychislitel'nye Seti s Ocheredyami; Mir: Moscow, Russia, 1979; p. 600. [Google Scholar]
  47. Mazzini, G.; Rovatti, R.; Setti, G. On the Aggregation of Self-Similar Processes. IEICE Trans. Fundam. Electron. Commun. Comput. Sci. 2005, E88-A, 2656–2663. [Google Scholar] [CrossRef]
  48. Kirichek, R.; Paramonov, A.; Vladyko, A.; Borisov, E. Implementation of the Communication Network for the Multi-Agent Robotic Systems. Int. J. Embed. Real Time Commun. Syst. 2016, 7, 48–63. [Google Scholar] [CrossRef]
  49. Spirkina, A.V.; Aptrieva, E.A.; Elagin, V.S.; Shvidkiy, A.A.; Savelieva, A.A. Approaches to Modeling Blockchain Systems. In Proceedings of the 2020 12th International Congress on Ultra Modern Telecommunications and Control Systems and Workshops, Brno, Czech Republic, 5–7 October 2020; pp. 242–247. [Google Scholar]
  50. Raikwar, M.; Gligoroski, D.; Kralevska, K. SoK of Used Cryptography in Blockchain. IEEE Access 2019, 7, 148550–148575. [Google Scholar] [CrossRef]
Figure 1. Blockchain market growth dynamics.
Figure 1. Blockchain market growth dynamics.
Futureinternet 13 00125 g001
Figure 2. Simulation of a system with blockchain nodes.
Figure 2. Simulation of a system with blockchain nodes.
Futureinternet 13 00125 g002
Figure 3. Simulation results of the blockchain node system: (a) Dependence of the proportion of packets on the waiting time for processing at the access node; (b) dependence of the proportion of packets on the delay at the access node; (c) dependence of the proportion of packets on the waiting time for processing at the aggregation node; (d) dependence of the proportion of packets on the delay at the aggregation node
Figure 3. Simulation results of the blockchain node system: (a) Dependence of the proportion of packets on the waiting time for processing at the access node; (b) dependence of the proportion of packets on the delay at the access node; (c) dependence of the proportion of packets on the waiting time for processing at the aggregation node; (d) dependence of the proportion of packets on the delay at the aggregation node
Futureinternet 13 00125 g003
Figure 4. Dependence of the proportion of packets at the end-to-end network delay of the system.
Figure 4. Dependence of the proportion of packets at the end-to-end network delay of the system.
Futureinternet 13 00125 g004
Table 1. Analytical modeling solutions for blockchain systems.
Table 1. Analytical modeling solutions for blockchain systems.
ResearchPresented SolutionTool/TechnologyParameters to be Considered and Characteristics to be Modeled
[10]Modeling the process using multiple queues based on four phases (waiting for inclusion in the block; waiting for confirmation; waiting for service; servicing)A state transition graph;
Mass service theory;
Markov processes
Simulation of block generation;
State transition probabilities;
Access delays
[11]The mining organization model is defined by M/M/n/L. The queue capacity is set as TxB, the queue policy is first-come, first-served, and the discard rule is block after service, which means that only transactions of block size TxB remain in the dynamic memory of the mining nodes, while other transactions, even if they are processed, are in the memory poolMass service theoryAverage number of transactions per block;
Total mining capacity;
Number of transactions per second
[12]The M/M/1 model is used to model the blockchain memory pool, and the mining pool is modeled by the M/M/n model. There can only be one block in a mining pool at any one time. However, within a mining pool, processes can be divided into multiple tasks or threads for parallel processing by multiple mining nodes in the network.Mass service theoryAverage number of transactions per block;
The speed at which transactions arrive;
Average mining time per block;
system/transaction throughput; waiting time in memory pool;
The number of unconfirmed transactions in the entire system;
Total number of transactions
[13]The mining process is modeled using a queuing system, analyzing transaction confirmation times. The authors consider the M/G/1 model with batch service, in which a newly arrived transaction cannot reach the service facility even if the number of transactions in the service facility does not reach the maximum batch size. In this model, the dwell time of a transaction corresponds to its confirmation time.Mass service theoryAverage block generation time;
Average number of transactions in the system
[14]The system is considered using the M/G/1 model as an example. Data arrivals to nodes are modeled as a heterogeneous Poisson process, where the distribution of arrival rate to nodes is derived from an analytical model of the data delivery protocol.Mass service theoryBlock and transaction allocation time probabilities;
Node response time;
The likelihood of a branching chain;
Duration of the period of the inconsistency of the register
[15]Stochastic network models are proposed to capture the evolution and dynamics of the blockchain. A combination of analytical calculations and simulation experiments is used to investigate both steady-state and transient performance characteristicsStochastic modelsThe effect of a block’s propagation delay;
Hashing power of nodes
[16]Game theories are proposed for modeling to address common problems in the blockchain network, such as security, problems related to mining management, and issues related to the economics of the blockchain.Game theoryEconomic aspects
[17]The system is examined using the M/G/∞ model as an example. Equivalence between two specific service disciplines is used to obtain the stationary distribution of the model.Mass service theoryDistribution of busy periods; service delays
[18]The theory of mass service in blockchain systems is developed, and system performance is evaluated. For this purpose, a Markov queuing system of packet service is developed with two different stages, which are suitable for explicitly expressing the process of mining in a pool of miners and constructing a new blockchain.Mass service theory;
Markov processes
Average number of transactions per queue,
Average number of transactions per block;
Average transaction confirmation time.
Table 2. Simulation solutions for blockchain systems.
Table 2. Simulation solutions for blockchain systems.
The SolutionDescriptionSoftware Packages
Test networksA test network of a particular system is used to test the performance or relevance of an application. Coin analyses that have no real value are usedBitcoin Testnet Explorer [19];
Blockcypher [20];
Bitcoin Testnet Faucet [21];
Rinkeby network [22];
Ganachecli [23];
Ethereum Tester [24];
Truffle framework [25];
Remix ide [26];
IBM Blockchain platform [27];
Remme [28];
Cryptospaniards [29]
Demonstration of how the technology worksThese solutions show how basic blockchain operations work, such as hashing, mining and distribution. It also provides information about the result of the procedure when certain parameters are changedBlockchain demo [30];
Simulators for event managementWith these solutions, users can explore the underlying characteristics and performance of the network, investigate interactions between nodes and compare different simulation scenarios. They serve as a fair comparison across platforms and provide a deeper understanding of different system design options. Applied to pretest to evaluate overall performance and with workloads to evaluate individual tier performanceVibes [31];
Simblock [32];
Blocksim [33];
BlockLite [34];
Bitcoin simulator [35];
Blockbench [36];
Hyperledger Caliper [37]
Network section simulatorThe solutions combine mathematical and logical aspects and reproduce the real behavior of the system using computer softwareAnyLogic [38];
MATLAB [39];
NS3 [40];
GPSS World [41]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Vladyko, A.; Spirkina, A.; Elagin, V. Towards Practical Applications in Modeling Blockchain System. Future Internet 2021, 13, 125. https://0-doi-org.brum.beds.ac.uk/10.3390/fi13050125

AMA Style

Vladyko A, Spirkina A, Elagin V. Towards Practical Applications in Modeling Blockchain System. Future Internet. 2021; 13(5):125. https://0-doi-org.brum.beds.ac.uk/10.3390/fi13050125

Chicago/Turabian Style

Vladyko, Andrei, Anastasia Spirkina, and Vasiliy Elagin. 2021. "Towards Practical Applications in Modeling Blockchain System" Future Internet 13, no. 5: 125. https://0-doi-org.brum.beds.ac.uk/10.3390/fi13050125

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop