Thinkey: A Scalable Blockchain Architecture

Shan Chen, Weiguo Dai, Yuanxi Dai, Hao Fu, Yang Gao, Jianqi Guo, Haoqing He, Yuhong LiuarXiv 2019 · arXiv

Introduction

The "Blockchain Trilemma" posits that achieving decentralization, security, and scalability simultaneously is a fundamental challenge. While established networks like Bitcoin and Ethereum prioritize decentralization and security, they suffer from low transaction throughput, often falling below 15 transactions per second (TPS). Existing sharding solutions attempt to address this by partitioning the network into smaller committees, but they frequently encounter bottlenecks in cross-shard transaction efficiency and committee trustworthiness.

Thinkey proposes a multi-layer, double-chain architecture designed to achieve "perfect scalability," where system throughput increases linearly with the number of nodes. By integrating a hierarchical chain structure with a novel account model based on the Actor Model, Thinkey aims to overcome the coordination overhead and latency issues inherent in traditional sharding.

Architecture and Methodology

Thinkey's design is centered on a four-layer encapsulation system (Task, Process, Data, and Network) and a distinctive double-chain structure.

Double-Chain Structure

The architecture bifurcates responsibilities between two types of chains:

  • Root Chain: This chain serves as the central coordinator. It does not process individual transactions; instead, it manages network metadata, records block digests from subordinate chains, and generates random seeds for secure committee elections.
  • Transaction Chains: Operating in parallel, these chains handle the primary transaction workload. They are periodically anchored to the Root Chain to ensure global security and synchronization.
The Thinkey double-chain architecture, featuring a central Root Chain and multiple parallel Transaction Chains.

The Actor Model Account System

A key innovation in Thinkey is the application of the Actor Model to the blockchain account system. Unlike traditional synchronous models, Thinkey treats each account as an independent "Actor" that communicates via asynchronous, lock-free messages. Cross-chain transactions are decoupled into multiple message-passing steps, preventing a single slow transaction from blocking the entire network.

Consensus Mechanism

Within each committee, Thinkey employs a variant of Practical Byzantine Fault Tolerance (PBFT). Node participation is governed by a Proof-of-Stake (PoS) election process managed by the Root Chain, ensuring that committees are resistant to takeover by malicious actors.

Experimental Evaluation

The system was evaluated using a custom-built simulation in Go, involving 400 nodes, each with a single-core CPU and 2GB of RAM. The testing suite included standard payment applications and a multi-chain implementation of the CryptoKitties smart contract to simulate complex logic.

Performance and Scalability

The experimental results demonstrate that Thinkey can achieve throughput exceeding 10,000 TPS. A critical finding was the near-perfect linear relationship between the number of shards and total TPS. As the number of shards increased from 2 to 32, the system maintained consistent scaling.

Speedup analysis across varying shard counts (k) and communication overhead (r) for different parallelization factors (p).

The analysis of speedup relative to communication overhead ($r$) and the number of shards ($k$) indicates that high parallelization factors ($p \geq 0.95$) allow the system to maintain significant performance gains even as the network scales. While cross-chain transactions introduce some latency, the message-driven protocol ensures that the overhead remains manageable.

Discussion and Future Work

Thinkey effectively separates coordination from execution, ensuring that network management does not compete for resources with transaction processing. The use of asynchronous communication allows transaction chains to remain fully utilized, avoiding the "locking" states common in other sharded systems.

However, several challenges remain. The current evaluations were conducted in controlled simulations; real-world wide-area network (WAN) latency and node churn may impact performance. Additionally, while the paper addresses committee security mathematically, optimizing committee size for the PBFT consensus remains a practical challenge. Finally, the long-term "state bloat" resulting from the proliferation of transaction chains requires further exploration into storage optimization techniques.

Summary updated

Abstract

This paper presents Thinkey, an efficient, secure, infinitely scalable and decentralized blockchain architecture. It ensures system correctness and liveness by a multi-layer structure. In particular, the system is based on a double-chain architecture and uses a multi-layer consensus protocol to guarantee consistency. Thinkey also uses a novel account model which is based on Actor Model to support the complex logic in the multi-chain structure. Experiment results show that the proposed Thinkey architecture can achieve higher throughput as the number of nodes increases.
BibTeX
@misc{chen2019thinkey,
  author = {Shan Chen and Weiguo Dai and Yuanxi Dai and Hao Fu and Yang Gao and Jianqi Guo and Haoqing He and Yuhong Liu},
  title = {{Thinkey: A Scalable Blockchain Architecture}},
  year = {2019},
  eprint = {1904.04560},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1904.04560},
}
Figure