Groundhog: Linearly-Scalable Smart Contracting via Commutative Transaction Semantics

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Ramseyer, Geoffrey, Mazières, David
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910398305796096
author Ramseyer, Geoffrey
Mazières, David
author_facet Ramseyer, Geoffrey
Mazières, David
contents Groundhog is a novel design for a smart contract execution engine based around concurrent execution of blocks of transactions. Unlike prior work, transactions within a block in Groundhog are not ordered relative to one another. Instead, our key design insights are first, to design a set of commutative semantics that lets the Groundhog runtime deterministically resolve concurrent accesses to shared data. Second, some storage accesses (such as withdrawing money from an account) conflict irresolvably; Groundhog therefore enforces validity constraints on persistent storage accesses via a reserve-commit process. These two ideas give Groundhog a set of semantics that, while not as powerful as traditional sequential semantics, are flexible enough to implement a wide variety of important applications, and are strictly more powerful than the semantics used in some production blockchains today. Unlike prior smart contract systems, transactions throughput never suffers from contention between transactions. Using 96 CPU cores, Groundhog can process more than half a million payment transactions per second, whether between 10M accounts or just 2.
format Preprint
id arxiv_https___arxiv_org_abs_2404_03201
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Groundhog: Linearly-Scalable Smart Contracting via Commutative Transaction Semantics
Ramseyer, Geoffrey
Mazières, David
Distributed, Parallel, and Cluster Computing
Groundhog is a novel design for a smart contract execution engine based around concurrent execution of blocks of transactions. Unlike prior work, transactions within a block in Groundhog are not ordered relative to one another. Instead, our key design insights are first, to design a set of commutative semantics that lets the Groundhog runtime deterministically resolve concurrent accesses to shared data. Second, some storage accesses (such as withdrawing money from an account) conflict irresolvably; Groundhog therefore enforces validity constraints on persistent storage accesses via a reserve-commit process. These two ideas give Groundhog a set of semantics that, while not as powerful as traditional sequential semantics, are flexible enough to implement a wide variety of important applications, and are strictly more powerful than the semantics used in some production blockchains today. Unlike prior smart contract systems, transactions throughput never suffers from contention between transactions. Using 96 CPU cores, Groundhog can process more than half a million payment transactions per second, whether between 10M accounts or just 2.
title Groundhog: Linearly-Scalable Smart Contracting via Commutative Transaction Semantics
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2404.03201