PlaTIBART: a Platform for Transactive IoT Blockchain Applications with Repeatable Testing

Michael A. Walker, Abhishek Dubey, Aron Laszka, Douglas C. Schmidt

Introduction

As Internet of Things (IoT) devices evolve from passive sensors into active "actuators," they increasingly participate in autonomous resource trading, such as smart meters exchanging solar power. These "transactive" applications require high transactional integrity and immutable auditing, making blockchain an ideal underlying technology. However, integrating IoT with blockchain remains challenging due to the manual complexity of deployment, the difficulty of testing at scale, and the inherent instability of current blockchain clients.

System Architecture and Methodology

PlaTIBART addresses these challenges through a specialized platform designed for repeatable testing and automated deployment. The core of the platform is a three-tiered architecture unified by three key components:

  1. The Actor Pattern and Wrapper Architecture: Each network node is treated as an "Actor" comprising a Wrapper and a Geth Client (Ethereum node). The Wrapper acts as a supervisor, using the Observer pattern to monitor the blockchain client's health. If a client hangs or fails to process transactions, the Wrapper automatically restarts it, providing a layer of fault tolerance.
  2. Domain Specific Language (DSL): A JSON-based DSL allows developers to define network topology, including the number of "prosumers," miners, IP addresses, and blockchain parameters like gas limits.
  3. Automated Network Management: A Python-based tool reads the DSL and automates the deployment and lifecycle management of the network across multiple virtual hosts.
PlaTIBART Actor-based architecture showing the decoupling of IoT logic (Wrapper) from the blockchain client (geth).

The platform also utilizes the Resilient Information Architecture Platform for Smart Grid (RIAPS) for high-speed, off-blockchain communication between devices, ensuring that time-critical IoT logic is not bottlenecked by the ledger.

Experimental Evaluation

The platform was evaluated using a simulated Transactive Energy System (TES) where smart meters trade energy in a grid-connected neighborhood. The experiments scaled from 2 to 20 prosumer actors, plus a Distribution System Operator (DSO) and a dedicated miner node, deployed across six virtual hosts.

Performance Results

The evaluation focused on the time required for various lifecycle stages of the network. The results demonstrate that PlaTIBART provides a highly stable and predictable environment for performance testing.

Performance metrics for network lifecycle stages across varying numbers of prosumers.

Key findings include:

  • Linear Scalability: Most operations, including client creation and network startup, scaled linearly with the number of prosumers. For instance, creating the full network scaled from approximately 14.7 seconds for 2 prosumers to 54.8 seconds for 20 prosumers.
  • High Predictability: Standard deviations across test runs were consistently low (typically < 0.1 seconds), validating the platform's ability to provide repeatable experimental conditions.
  • Operational Anomalies: The data revealed a non-linear increase in "Network Stop" time at the 20-prosumer mark, highlighting potential bottlenecks in management scripts during large-scale teardowns.

Discussion and Future Work

PlaTIBART demonstrates that decoupling IoT logic from blockchain clients is a critical survival strategy for decentralized systems. By treating deployment as code via a DSL, the platform ensures repeatability, which is essential for scientific benchmarking.

Future work will focus on expanding supported network topologies beyond star configurations, making the platform blockchain-agnostic (e.g., supporting Hyperledger), and automating the manual IP pairing currently required for wrapper-client associations. Additionally, the authors noted challenges with Solidity's lack of floating-point support, suggesting a need for more robust off-chain processing for complex energy calculations.

Summary updated

BibTeX
@inproceedings{walker2017platibart,
  author = {Michael A. Walker and Abhishek Dubey and Aron Laszka and Douglas C. Schmidt},
  title = {{PlaTIBART: a Platform for Transactive IoT Blockchain Applications with Repeatable Testing}},
  booktitle = {M4IoT@Middleware},
  year = {2017},
  url = {https://openreview.net/forum?id=XZM4eYfsdDD},
}
Figure