[Paper Review] Performance and Cost Evaluation of Smart Contracts in Collaborative Health Care Environments
This paper proposes TokenHealth, a blockchain-based system using Ethereum smart contracts to incentivize collaborative health care participation through gamification and token rewards. It evaluates performance and cost across Ropsten testnet and a private Ethereum instance, finding sub-minute execution times for full vaccination cycles and significantly lower costs in private deployments compared to public Ethereum.
Blockchain emerged as a solution for data integrity, non-repudiation, and availability in different applications. Data sensitive scenarios, such as Health Care, can also benefit from these blockchain properties. Consequently, different research proposed the adoption of blockchain in Health Care applications. However, few are discussed about incentive methods to attract new users, as well as to motivate the system or application usage by existing end-users. Also, little is discussed about performance during code execution in blockchains. In order to tackle these issues, this work presents the preliminary evaluation of TokenHealth, an application for collaborative health practice monitoring with gamification and token-based incentives. The proposed solution is implemented through smart contracts using Solidity in the Ethereum blockchain. We evaluated the performance of both in Ropsten test network and in a Private instance. The preliminary results show that the execution of smart contracts takes less than a minute for a full cycle of different smart contracts. Also, we present a discussion about costs for using a Private instance and the public Ethereum main network.
Motivation & Objective
- To address low end-user adoption in collaborative health care systems by introducing token-based incentives and gamification.
- To evaluate the performance of smart contracts in real-world health monitoring scenarios on Ethereum.
- To compare financial costs between public Ethereum mainnet and private Ethereum instances for health care applications.
- To assess the feasibility of using blockchain for secure, immutable, and incentive-driven health activity tracking.
Proposed method
- The system, TokenHealth, is implemented using Solidity smart contracts on the Ethereum blockchain.
- Performance is evaluated on both the Ropsten test network and a private Ethereum instance hosted on Google Cloud with 2 vCPUs, 8GB RAM, and 80GB storage.
- A full vaccination cycle is emulated, comprising Checkin, Vaccination Confirmation, and Checkout smart contracts.
- Execution times are measured over 10 runs, with median values reported for performance analysis.
- Cost analysis compares public Ethereum mainnet (gas-based) with private instance (fixed infrastructure cost) using 26 September 2019 Ether exchange rates.
- The system leverages blockchain properties like immutability, non-repudiation, and decentralized execution to ensure data integrity and trust.
Experimental results
Research questions
- RQ1How do smart contract execution times compare between public test networks and private Ethereum instances in a health care context?
- RQ2What are the financial costs of deploying and executing smart contracts for health monitoring on public Ethereum versus private Ethereum deployments?
- RQ3Can gamification and token incentives effectively promote user adoption and sustained engagement in collaborative health care systems?
- RQ4How does network load or network instability (e.g., fork resolution) affect smart contract performance in public test networks?
Key findings
- The full vaccination cycle, involving three smart contracts, executed in 44,273.5ms (44.3 seconds) on the private Ethereum instance.
- On the Ropsten test network, the same cycle took 69,899.5ms (69.9 seconds), showing a 57.8% performance degradation compared to the private instance.
- The smart contract to add a new member took 8,906ms on the private instance but 69,533.5ms on Ropsten, a 680% performance difference.
- The private instance achieved similar performance to Ropsten but at a significantly lower cost, with 1,000 full vaccination cycles costing $123.75 on public Ethereum, which is deemed insufficient for scalable health applications.
- Performance on Ropsten was comparable to the main Ethereum network, suggesting Ropsten is a valid proxy for performance evaluation.
- The study concludes that private Ethereum instances offer better cost-efficiency for high-volume health care applications, while public Ethereum incurs high variable costs per transaction.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.