Skip to main content
QUICK REVIEW

[Paper Review] Blockchain Queueing Theory

Quan‐Lin Li, Jing-Yu Ma|arXiv (Cornell University)|Aug 6, 2018
Blockchain Technology Applications and SecurityComputer Science26 references15 citations
TL;DR

This paper proposes a novel Markovian batch-service queueing model with two-stage service to analyze blockchain transaction processing, modeling mining and block-building as sequential stages. Using matrix-geometric solutions, it derives stable conditions and key performance metrics: average queue length, average block size, and average transaction confirmation time, validated through numerical examples under exponential assumptions.

ABSTRACT

Blockchain has many benefits including decentralization, availability, persistency, consistency, anonymity, auditability and accountability, and it also covers a wide spectrum of applications ranging from cryptocurrency, financial services, reputation system, Internet of Things, sharing economy to public and social services. Not only may blockchain be regarded as a by-product of Bitcoin cryptocurrency systems, but also it is a type of distributed ledger technology through using a trustworthy, decentralized log of totally ordered transactions. By summarizing the literature of blockchain, it is found that more papers focus on engineering implementation and realization, while little work has been done on basic theory, for example, mathematical models (Markov processes, queueing theory and game models), performance analysis and optimization of blockchain systems. In this paper, we develop queueing theory of blockchain systems and provide system performance evaluation. To do this, we design a Markovian batch-service queueing system with two different service stages, while the two stages are suitable to well express the mining process in the miners pool and the building of a new blockchain. By using the matrix-geometric solution, we obtain a system stable condition and express three key performance measures: (a) The number of transactions in the queue, (b) the number of transactions in a block, and (c) the transaction-confirmation time. Finally, We use numerical examples to verify computability of our theoretical results. Although our queueing model is simple under exponential or Poisson assumptions, our analytic method will open a series of potentially promising research in queueing theory of blockchain systems.

Motivation & Objective

  • To develop a foundational queueing theory framework for blockchain systems, addressing performance evaluation and optimization.
  • To model the mining and block-building processes as a two-stage batch-service queueing system with Markovian arrivals and service times.
  • To derive analytical expressions for key performance measures: average number of transactions in the queue, in a block, and confirmation time.
  • To validate the theoretical results through numerical examples under Poisson and exponential assumptions.
  • To lay the groundwork for future research on generalized blockchain queueing models with phase-type or general service distributions.

Proposed method

  • Formulates a continuous-time Markov chain with a two-dimensional state space representing the number of transactions in the queue and the current stage of block processing.
  • Models the block-generation phase as a batch-service queue with batch size up to a maximum block size $ b $, and the blockchain-building phase as a second service stage with independent exponential service times.
  • Applies matrix-geometric solution techniques to solve the steady-state distribution of the queueing system, enabling performance analysis.
  • Derives the system stability condition based on the traffic intensity and the matrix $ R $, which captures the transition behavior between levels in the Markov chain.
  • Uses the stationary distribution to compute performance measures via matrix operations, including $ m{ u} = m{ u}_0 (I - R)^{-1} $, and applies it to expected values.
  • Employs numerical computation to evaluate the theoretical results, varying parameters such as service rates $ u_1, u_2 $, block size $ b $, and arrival rate $ u $.

Experimental results

Research questions

  • RQ1How can a two-stage batch-service queueing model accurately represent the mining and block-building processes in blockchain systems?
  • RQ2What is the stability condition for such a blockchain queueing system under Markovian assumptions?
  • RQ3How do the average number of transactions in the queue, the average block size, and the average transaction-confirmation time depend on system parameters like service rates and block size?
  • RQ4What is the impact of increasing block size or mining speed on transaction confirmation time and system efficiency?
  • RQ5Can the matrix-geometric method be effectively applied to derive closed-form expressions for key performance metrics in blockchain queueing systems?

Key findings

  • The system is stable when the effective arrival rate is less than the combined service rate of the two stages, ensuring a unique stationary distribution.
  • The average number of transactions in the queue ($ E[J] $) decreases as the block-generation rate $ u_1 $ increases, indicating improved system responsiveness.
  • The average number of transactions per block ($ E[I] $) increases with larger block size $ b $, but decreases with higher $ u_1 $, reflecting faster block creation.
  • The average transaction-confirmation time ($ E[T] $) decreases with increasing $ u_1 $, and also decreases with larger $ b $, showing that larger blocks and faster mining reduce confirmation delays.
  • For fixed $ u_1 $, $ E[T] $ initially increases with $ b $ when $ b $ is small, but eventually decreases as $ b $ grows beyond a critical threshold, indicating a non-monotonic behavior under low arrival rates.
  • There exists a critical block size $ heta $ such that for $ b o heta $, the confirmation time $ E[T] $ exhibits a reversal in sensitivity to arrival rate $ u $: it increases with $ u $ when $ b o heta $, but decreases when $ b > heta $, highlighting a complex trade-off in system design.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.